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
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Country State City Dropdown CF7 plugin for WordPress is vulnerable to SQL Injection via the ‘cnt’ and 'sid' paramete
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29388
GHSA-xfmv-2x8g-8rjp