CVE-2026-2300: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bjornjohansen BJ Lazy Load
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.
AI Analysis
Technical Summary
CVE-2026-2300 is a stored cross-site scripting vulnerability in the BJ Lazy Load WordPress plugin (versions up to 1.0.9). The issue stems from the filter_images() function using preg_replace for HTML processing that fails to correctly handle HTML attribute boundaries, specifically when replacing src attributes. This flaw allows crafted content inside a class attribute to be elevated to real DOM attributes, enabling authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript into pages. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity) with network attack vector, low attack complexity, and no user interaction required. No official patch or remediation level has been published by the vendor.
Potential Impact
An authenticated attacker with Contributor-level or higher privileges can inject persistent malicious scripts into web pages via the vulnerable filter_images() function. These scripts execute in the context of users viewing the compromised pages, potentially leading to information disclosure or session hijacking. The vulnerability does not affect availability and requires some privileges to exploit. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit Contributor-level access to trusted users only. Consider disabling or replacing the BJ Lazy Load plugin if feasible to reduce exposure.
CVE-2026-2300: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in bjornjohansen BJ Lazy Load
Description
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.
CVSS v3.1
Score 6.4medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-2300 is a stored cross-site scripting vulnerability in the BJ Lazy Load WordPress plugin (versions up to 1.0.9). The issue stems from the filter_images() function using preg_replace for HTML processing that fails to correctly handle HTML attribute boundaries, specifically when replacing src attributes. This flaw allows crafted content inside a class attribute to be elevated to real DOM attributes, enabling authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript into pages. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity) with network attack vector, low attack complexity, and no user interaction required. No official patch or remediation level has been published by the vendor.
Potential Impact
An authenticated attacker with Contributor-level or higher privileges can inject persistent malicious scripts into web pages via the vulnerable filter_images() function. These scripts execute in the context of users viewing the compromised pages, potentially leading to information disclosure or session hijacking. The vulnerability does not affect availability and requires some privileges to exploit. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, limit Contributor-level access to trusted users only. Consider disabling or replacing the BJ Lazy Load plugin if feasible to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-02-10T18:03:19.039Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a02e308cbff5d8610bad044
Added to database: 05/12/2026, 08:21:28 UTC
Last enriched: 05/19/2026, 09:34:58 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 41
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.