Skip to main content

Books Gallery CVE-2026-108487

| EUVDEUVD-2026-98373 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-13 Patchstack GHSA-mjm6-cv7c-p5h8
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege WordPress account
  2. Delivery
    Submit book entry with crafted script payload
  3. Exploit
    Payload stored unsanitized by plugin
  4. Execution
    Admin/user views affected page
  5. Persist
    Script executes in victim browser
  6. Impact
    Hijack session or perform privileged actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated WordPress account with at least low-level posting privileges (PR:L) to inject the stored payload into a Books Gallery plugin input field, plus subsequent victim interaction (UI:R) - a privileged user or visitor must view the page where the payload is rendered for the script to fire. This is not remote-unauthenticated: the need for a valid account and the reliance on a victim loading the malicious content materially limit real-world risk, and exposure is confined to sites running the Books Gallery plugin at version 4.8.4 or earlier.

Impact

This is a moderate-severity stored XSS (CWE-79) in the WordPress 'Books Gallery' plugin, rated CVSS 6.5 by Patchstack. The CVSS vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L) indicates network-reachable, low-complexity exploitation but requires an authenticated low-privilege account (PR:L) and victim interaction (UI:R), with a scope change (S:C) reflecting that injected script executes in the browser context of other users. No EPSS score, KEV listing, SSVC decision, or public POC was provided in the input, so there is no signal of active or widespread exploitation - meaning this is a real-but-routine issue to patch rather than an emergency. The limited C:L/I:L/A:L impacts are consistent with typical stored XSS (session/credential theft, defacement, limited admin-action forgery) rather than direct server compromise. Net assessment: genuine vulnerability worth remediating on a normal patch cycle; not a high-urgency priority absent evidence of exploitation.

Exploit ScenarioDerived

A low-privileged authenticated user (e.g., a contributor or author) submits a book entry containing a malicious script payload through an input field that the plugin fails to neutralize. When an administrator or other user later views the affected page in wp-admin or on the front end, the stored script executes in their browser, enabling session hijacking or actions performed as the victim. No public proof-of-concept was identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 13, 2026

Stored cross-site scripting in the WordPress 'Books Gallery' plugin (wp-books-gallery) affects all releases through 4.8.4, allowing an attacker to persist malicious JavaScript that executes in the browser of whoever later views the affected page. Per our assessment, exploitation requires an authenticated WordPress account with at least low-level posting privileges (CVSS vector PR:L) plus victim interaction (UI:R) - a privileged user or site visitor must load the page where the injected payload is rendered - so this is not remotely exploitable without credentials, and real-world risk is materially constrained by those prerequisites. Rated CVSS 6.5 by Patchstack and mapped to CWE-79, this is a moderate-severity issue with no public exploit identified at time of analysis and no CISA KEV listing; exposure is confined to WordPress sites running the Books Gallery plugin at version 4.8.4 or earlier.

RemediationAI

Patch status for this issue is not confirmed from the available data - the reported range covers all versions through 4.8.4 and no fixed version is named in the provided references - so the primary action is to check the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/wp-books-gallery/vulnerability/wordpress-books-gallery-plugin-4-8-4-cross-site-scripting-xss-vulnerability?_s_id=cve for the current available release and upgrade the plugin to the newest version offered by the vendor, which will be at or above 4.8.5 if a fix has shipped; validate the installed version after upgrading. If no patched release is yet available, deactivate and, if feasible, uninstall the Books Gallery plugin until one is published - the trade-off is loss of gallery functionality, but it fully removes the injection surface. As interim compensating controls, restrict the ability to create or edit gallery content to trusted roles only (the vector requires only low-level posting privileges, so revoking author-level capabilities on book gallery custom post types reduces the attacker pool), and deploy a web application firewall or WordPress security plugin with rules that filter script tags and event-handler attributes in plugin input; note that signature-based filtering is bypassable and should be treated as a stopgap rather than a fix. Because this is a stored XSS, also audit existing gallery entries and the WordPress database for previously injected script content and remove any confirmed payloads, and consider a Content Security Policy that disallows inline script execution to limit the impact of any payload that already persists - recognizing that strict CSP can break legitimate site scripts and requires careful tuning.

Affected VersionsENISA

Books Gallery 0 ≤4.8.4

Affected Packages

euvd books_gallery no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79, improper neutralization of input during web page generation, in the WordPress Books Gallery plugin (CPE cpe:2.3:a:hossni_mubarak:books_gallery:*:*:*:*:*:*:*:*). Book gallery input fields - the content a low-privilege author can create or edit - are stored in the WordPress database without adequate sanitization and later rendered back into generated HTML pages without proper output encoding, so attacker-supplied markup survives into the page and is parsed as script by the victim's browser. This is a stored (persistent) rather than reflected variant: the payload does not need to be delivered in a crafted URL and instead fires for every subsequent viewer of the affected page. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N describes network-reachable, low-complexity exploitation by an authenticated low-privilege user, requiring victim interaction, with scope changed (S:C) because the injected script executes in the security context of visitors and administrators rather than that of the injecting account. Confidentiality and integrity impacts are assessed as low, with no availability impact; the stored nature of the payload means it can affect multiple victims over time until removed.

Know when Books Gallery gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 5.4 MEDIUM

Stored XSS needs a low-priv authenticated account (PR:L) and a victim viewing the payload (UI:R); script runs cross-context (S:C) with limited C/I impact and no availability effect (A:N).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Hossni Mubarak Books Gallery wp-books-gallery allows Stored XSS.This issue affects Books Gallery: from n/a through 4.8.4.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche WordPress gallery plugin, limited install base
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy