CVE-2026-5347

Medium

Description

The HM Books Gallery plugin for WordPress is vulnerable to Missing Authorization in versions up to and including 4.8.0. This is due to the absence of capability checks and nonce verification in the admin_init hook that handles the permalink settings update at line 205-209 of wp-books-gallery.php. The vulnerable code checks only for the presence of the 'permalink_structure' POST parameter before updating the 'wbg_cpt_slug' option, without verifying that the request comes from an authenticated administrator. This makes it possible for unauthenticated attackers to modify the custom post type slug for the books gallery, which changes the URL structure for all book entries and can break existing links and SEO rankings.

SeverityMedium
CVSS5.3
Exploit probability—
ProductWP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes
PublishedApr 24, 2026
First seenApr 24, 2026

How to fix

Sources list no fixed version or patch link for this vulnerability.

Affected products

ProductAffected versionsFixed in
mhmrajib WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutesv ≤ 4.8.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-5347 · WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes · Dark Radar