CVE-2026-5347mhmrajib WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes
Medium 5.3 No auth needed
Follow: this CVE · mhmrajib · mhmrajib WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 24, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- mhmrajib · WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.