CVE-2026-2300
Received Received - Intake
Stored XSS in BJ Lazy Load WordPress Plugin

Publication date: 2026-05-12

Last updated on: 2026-05-12

Assigner: Wordfence

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-12
Last Modified
2026-05-12
Generated
2026-05-12
AI Q&A
2026-05-12
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
bj_lazy_load plugin to 1.0.9 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

The BJ Lazy Load plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its filter_images() function in all versions up to and including 1.0.9.

This vulnerability arises because the plugin uses regex-based HTML processing (preg_replace) that does not correctly handle HTML attribute boundaries when replacing src attributes.

As a result, crafted content inside a class attribute value can be promoted to real DOM attributes after processing, allowing attackers to inject arbitrary web scripts.

Authenticated attackers with Contributor-level access or higher can exploit this to inject scripts that execute whenever a user accesses the injected page.


How can this vulnerability impact me? :

This vulnerability allows attackers with Contributor-level access or above to inject malicious scripts into pages.

These scripts execute in the context of users who visit the infected pages, potentially leading to theft of user data, session hijacking, or other malicious actions.

Because the vulnerability is a Stored Cross-Site Scripting issue, the injected scripts persist on the site and affect all users who view the compromised content.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart