Skip to main content

BEAF Gallery CVE-2026-135015

| EUVDEUVD-2026-133885 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-24 Patchstack GHSA-4mqc-hqwc-hffq
6.5
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privileged user
  2. Delivery
    Inject script into gallery input field
  3. Exploit
    Payload stored unsanitized
  4. Execution
    Privileged user views page
  5. Persist
    Script executes in admin browser
  6. Impact
    Session 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.

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

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

Alert me

AnalysisAIv1 – 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

BEAF 0 ≤4.7.22

Affected Packages

euvd beaf 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 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

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 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
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 Themefic BEAF beaf-before-and-after-gallery allows Stored XSS.This issue affects BEAF: from n/a through 4.7.22.

Threat Intelligence Overview

EPSS Score
0.3%
Top 85% exploitable
Prevalence
Low
niche WordPress before/after image gallery plugin, modest install base
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.3%
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