PT-2026-34854 · Mhmrajib · Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes

Abhirup Konwar

·

Published

2026-04-24

·

Updated

2026-04-24

·

CVE-2026-5347

CVSS v3.1

5.3

Medium

AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.

Fix

Missing Authorization

Weakness Enumeration

Related Identifiers

CVE-2026-5347

Affected Products

Wp Books Gallery – Build Stunning Book Showcases & Libraries In Minutes