Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
DeliveryInject script into gallery input field
-
ExploitPayload stored unsanitized
-
ExecutionPrivileged user views page
-
PersistScript executes in admin browser
-
ImpactSession hijack or 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 account with at least low privileges on the target WordPress site (PR:L) - consistent with a contributor/author-level user able to submit gallery content - and requires a privileged victim (typically an administrator) to subsequently view the page where the unsanitized input is rendered (UI:R). These two factors materially limit real-world risk: the attacker needs an existing foothold account AND must wait for or lure a higher-privileged user to load the malicious gallery. The specific vulnerable field, parameter, or configuration is not described in the available sources. There is no indication a non-default configuration is needed; it affects the plugin as shipped through version 4.7.22. |
| Impact | This is a moderate-severity Stored XSS (CWE-79) in the Themefic BEAF 'Before and After Gallery' WordPress plugin, affecting all versions up to and including 4.7.22. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L, base 6.5) tells a consistent story: network-reachable, low attack complexity, but it requires an authenticated low-privileged account (PR:L) AND victim interaction (UI:R) to fire, with a scope change (S:C) because injected script executes in the browser of whoever views the page - typically an administrator. The signals are not conflicting but they ARE modest: there is no CISA KEV listing and no EPSS score was supplied, so there is no evidence of active or automated exploitation. The vuln.today decision label is 'this_month' (routine patch prioritization), not act_now or emergency, which aligns with a stored XSS that needs an authenticated foothold plus social-engineering of a privileged viewer. Net: this is a real but not urgent issue - a genuine priority for a scheduled plugin-update cycle rather than an emergency. The practical risk hinges on whether low-trust contributor/author accounts exist on the site; on a locked-down single-admin blog the attack surface is small, while on multi-author sites it is more meaningful. |
| Exploit ScenarioDerived | An attacker with a low-privileged authenticated account (e.g., contributor or author) on a WordPress site running BEAF ≤4.7.22 injects a malicious script payload into a gallery field that is stored without proper neutralization. When an administrator or other user later views the page or admin screen rendering that gallery, the script executes in their browser session, enabling session/cookie theft or admin actions on their behalf. No public exploit was identified at time of analysis, and the specific injectable field/parameter is not described in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Stored cross-site scripting in the Themefic BEAF Before and After Gallery WordPress plugin, affecting all versions through 4.7.22, lets an authenticated low-privilege user persist malicious script that executes when a higher-privileged victim views the affected gallery. Exploitation requires an existing contributor/author-level account and interaction from an administrator who loads the tainted content, and no public exploit has been identified at time of analysis.
RemediationAI
The available data does not list a fixed version or vendor patch; monitor the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/beaf-before-and-after-gallery/vulnerability/wordpress-beaf-plugin-4-7-22-cross-site-scripting-xss-vulnerability for a patched release. Until a fix is available, restrict contributor/author-level account provisioning and gallery creation to trusted users, and limit administrator exposure to untrusted gallery content; these controls reduce exposure to the stored XSS but do not remove the underlying flaw and can narrow editorial workflows.
Affected VersionsENISA
Affected Packages
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 flaw is CWE-79 (Improper Neutralization of Input During Web Page Generation) in a WordPress plugin that stores gallery content and later renders it to other users. The CPE cpe:2.3:a:themefic:beaf:*:*:*:*:*:*:*:* identifies the affected plugin, and the issue applies as shipped through 4.7.22. The available sources do not describe the specific vulnerable field, parameter, or rendering path, so the exact injection point is not confirmed. Because the payload is stored, neutralization must occur on input and/or output; the assessed vector (PR:L, UI:R, S:C) reflects that a low-privilege authenticated user supplies content that a privileged victim must subsequently view.
Know when Beaf 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
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Authenticated low-privilege user stores the payload (PR:L), a privileged victim must view it (UI:R), and injected script runs cross-context in the victim's browser (S:C) with limited C/I/A impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themefic BEAF beaf-before-and-after-gallery allows Stored XSS.This issue affects BEAF: from n/a through 4.7.22.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-133885
GHSA-4mqc-hqwc-hffq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB