CVE-2026-5347
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.
Published:Apr 24, 2026
Last Modified:Apr 28, 2026
EPS:Apr 24, 2026
EPSS Score:0.00015
CVSS Score:5.3
Affected Products
Vendor
Product
Action
Vendor
Mhmrajib
Product
Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes
Mhmrajib
Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes
Vendor
Wordpress
Product
Wordpress
Wordpress
Wordpress
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
