Auth bypass in Mhmrajib Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes
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.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (33.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.001
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-59779…
- plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php
- plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery…
- plugins.trac.wordpress.org/browser/wp-books-gallery/trunk/wp-books-gallery.php
- plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.7.8/wp-books-gallery…
- plugins.trac.wordpress.org/browser/wp-books-gallery/tags/4.8.1/wp-books-gallery…
Frequently asked questions
- What is CVE-2026-5347?
- CVE-2026-5347 is a medium-severity vulnerability in Mhmrajib Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes, classified under Missing Authorization. CVSS score: 5.3/10. Published 2026-04-24.
- How severe is CVE-2026-5347?
- Medium severity. CVSS v3 base score is 5.3 out of 10.