Skip to content

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

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

CVE-2026-5347Published 24 Apr 2026, 05:29 UTC

Real-world risk

2.6/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Wordfence)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
WP Books Gallery – Build Stunning Book Showcases & Libraries in MinutesNiche<= 4.8.0—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
  4. Rounded to one decimal between 0.1 and 102.6

How the score works

Exploitation and evidence timeline

  1. 24 Apr 2026 Published
  2. 3 Dec 2026 Risk 2.6 (cvss fallback)

Weakness

CWE-862

References

Get alerts for WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes

Free email or text alerts when a vulnerability in WP Books Gallery – Build Stunning Book Showcases & Libraries in Minutes reaches risk 8 or higher. Nothing else.