Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain Contributor credentials or account
-
DeliveryCreate post with class attribute XSS payload
-
ExploitSubmit post for publishing
-
InstallPlugin processes post via filter_images()
-
C2Regex mishandles attribute boundaries
-
ExecuteInjected onload/event handler becomes valid DOM attribute
-
ImpactVictim visits post
-
Step 8Malicious JavaScript executes in victim's browser
-
Step 9Attacker steals session/credentials or performs unauthorized action
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 the following specific, concrete conditions: (1) An attacker must have at least Contributor-level WordPress user account (authenticated access with post creation/editing permissions); (2) The BJ Lazy Load plugin must be installed and activated on the target WordPress site; (3) The attacker must be able to create, edit, or publish a post, page, or custom post type that will be processed by the |
| Impact | This vulnerability presents moderate-to-significant risk despite its CVSS 6.4 score. The attack vector is network-based with low complexity and no user interaction required from the attacker (AV:N/AC:L/UI:N), making exploitation straightforward once authenticated. However, exploitation requires Contributor-level WordPress access (PR:L), limiting the attack surface to users with explicit permission to create or edit posts-typically trusted editorial staff, guest bloggers, or compromised user accounts. The scope is changed (S:C), meaning the impact extends beyond the vulnerable component to other users' browser contexts. The confidentiality and integrity impacts (C:L/I:L) are moderate; attackers can steal session cookies, credentials, or redirect users, but the scope is limited to XSS consequences rather than server-level compromise. Real-world risk depends critically on three factors: (1) How many sites use this plugin (WordPress plugin popularity data suggests moderate adoption), (2) Whether Contributor+ accounts are routinely granted to untrusted users or frequently compromised, and (3) Whether the injected content persists across page views (Stored XSS, confirmed by CVE description, maximizes impact vs. reflected XSS). KEV status not provided in input, but Wordfence reporting suggests security vendor awareness. No EPSS score provided; the low PR requirement combined with stored persistence suggests higher exploitation probability than the CVSS base score alone indicates. The regex-based approach to HTML parsing is a known anti-pattern (regex should not be used for HTML parsing per OWASP guidance), making this a clear implementation flaw rather than an edge-case bypass. No compensating controls are effective once an attacker gains Contributor access, as the vulnerability is in server-side HTML generation. |
| Exploit ScenarioDerived | An attacker with a Contributor account (or who has compromised a Contributor account via phishing or credential stuffing) creates a new WordPress post with a custom |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 12, 2026
Stored Cross-Site Scripting in BJ Lazy Load plugin for WordPress versions up to 1.0.9 allows authenticated attackers with Contributor-level access to inject arbitrary web scripts via regex-based HTML attribute manipulation in the filter_images() function. The vulnerability exploits improper handling of HTML attribute boundaries during src attribute replacement, enabling attackers to promote malicious content from class attribute values into executable DOM attributes. When victims access injected pages, the injected scripts execute in their browsers with the privileges of the compromised site.
RemediationAI
Update BJ Lazy Load to a patched version released after 1.0.9 (exact version number not provided in input data, but vendors typically use 1.0.10 or 1.1.0 for security patches). The fix requires replacing regex-based HTML attribute manipulation with proper HTML parsing using a DOM parser (e.g., PHP DOMDocument or HTMLSpecialChars functions for attribute escaping). Site administrators should navigate to WordPress Dashboard → Plugins, search for 'BJ Lazy Load', and apply the update immediately once available. If no patched version is available from the vendor within a defined timeframe, consider disabling the plugin entirely and switching to a maintained lazy-loading alternative (e.g., native browser lazy-loading via HTML5 loading='lazy' attribute, which requires no plugin). As a temporary workaround with significant limitations, restrict Contributor-level access to only highly trusted users and regularly audit post revisions for injected content using security plugins like Wordfence or Sucuri, though this does not prevent exploitation, only aids detection. Consult the Wordfence vulnerability page (https://www.wordfence.com/threat-intel/vulnerabilities/id/f443846f-4d70-4ca0-beeb-d2e839b14765?source=cve) for the exact patched version number and release date once available.
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 BJ Lazy Load plugin uses preg_replace() for regex-based HTML processing to transform image src attributes as part of lazy-loading functionality. The vulnerability exists in the filter_images() function (referenced at line 121 and line 210 in the affected code paths) where insufficient boundary validation during regex substitution allows specially crafted HTML attribute content to break out of its intended context. Specifically, malicious payloads embedded within a class attribute value can be manipulated through regex processing to become independent DOM attributes with executable content. This is a classic case of CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-controlled data is not properly sanitized before being rendered in HTML output. The regex pattern fails to account for attribute quote handling and whitespace, allowing injection points where the regex replacement operation inadvertently promotes non-src content into valid HTML attributes.
Know when Bj Lazy Load 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:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The BJ Lazy Load plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the filter_images() function in all versions up to, and including, 1.0.9. This is due to the use of regex-based HTML processing (preg_replace) that does not properly handle HTML attribute boundaries when replacing src attributes, allowing crafted content inside a class attribute value to be promoted to real DOM attributes after processing. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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-29388
GHSA-xfmv-2x8g-8rjp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB