CVE-2026-5347 json
WP Books Gallery <= 4.8.0 - Missing Authorization to Unauthenticated Settings Update via 'permalink_structure' Parameter
published 2026-04-24 6 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-25398
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected products
- mhmrajib WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes
Classification
- Weakness
-
- CWE-862 Missing Authorization
- Technology feeds
References
- wordfence.com /threat-intel/vulnerabilities/id/12bf1cd8-cd55-4771-b2bb-597797b1b949?source=cve
- plugins.trac.wordpress.org /browser/wp-books-gallery/trunk/wp-books-gallery.php#L207
- plugins.trac.wordpress.org /browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php#L207
- plugins.trac.wordpress.org /browser/wp-books-gallery/trunk/wp-books-gallery.php#L206
- plugins.trac.wordpress.org /browser/wp-books-gallery/tags/4.7.8/wp-books-gallery.php#L206
- plugins.trac.wordpress.org /browser/wp-books-gallery/tags/4.8.1/wp-books-gallery.php#L207
Sources
- CVE List CVE-2026-5347
- NVD CVE-2026-5347
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.