Vulnerability Report
Plugin Medium Patch path listed CVE-2026-5347

WP Books Gallery <= 4.8.0 - Missing Authorization to Unauthenticated Settings Update via 'permalink_structure' Parameter

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.

Quick Answer

CVE-2026-5347 is a medium severity with CVSS 5.3 Vulnerability issue affecting the Plugin WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes. It affects Versions up to 4.8.0 and is fixed in 4.8.1.

Published
Apr 23, 2026
Last Updated
Apr 23, 2026
Slug
wp-books-gallery
Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 4.8.1, or a newer patched version
Operator Briefing

CVE-2026-5347 is tracked for the Plugin WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes as medium severity with CVSS 5.3. The affected range is Versions up to 4.8.0. Update WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes to 4.8.1 or newer where that version is compatible with the site.

Issue Type
Vulnerability
Primary Fixed Version
4.8.1
Primary Affected Range
Versions up to 4.8.0
Tracking ID
CVE-2026-5347
Detailed Metadata
Software Type Plugin
Software Slug
wp-books-gallery View on wordpress.org
CVE CVE-2026-5347
Patched Versions
4.8.1
Affected Versions
Versions up to 4.8.0
Related CVE Cluster

Related CVEs for WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more