WordPress security changelog
MEDIUM CVE-2026-5347 Deferred

WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes: A security weakness

WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes is affected by a security weakness. The vulnerable path is reachable without authentication. The resulting impact depends on how the affected component exposes the vulnerable operation. The published affected range is <= 4.8.0.

CVE / CNA score 5.3 CVSS 3.1 · security@wordfence.com
NVD score Pending NVD has not published its own CVSS assessment.
Component
WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes
Plugin slug
wp-books-gallery
Affected
<= 4.8.0
Safe version
> 4.8.0
Published
Apr 24, 2026
Weakness
CWE-862 — Missing Authorization

This CVE was published Apr 24, 2026 and is one of 2 known issues for this plugin.

Update, patch or deactivate.

Update WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes to a release after 4.8.0, or disable and remove it until a fixed version is available.

A safe version is available, so updating to that version or later is the preferred remediation. If an immediate update is not practical, consider a targeted application patch or temporarily restricting the affected functionality.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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.

CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary and upstream sources