CVE-2026-100196
LazyLoad Plugin <= 2.4.0 - Unauthenticated Stored Cross-Site Scripting via Comment Content
- State
- Published
- Severity
- 7.2 High
- Published
- Oct 10, 2026
- Updated
- Oct 11, 2026
- Reserved
- Sep 25, 2026
Description
The LazyLoad Plugin – Lazy Load Images, Videos, and Iframes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment_content (rendered inline into the page HTML)' parameter in all versions up to, and including, 2.4.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core's wp_kses_data allow-list does not strip the crafted payload on save because it uses only permitted tags and attributes; the event handler is concealed inside a broken attribute region and is only promoted to a real DOM attribute by the plugin's render-time str_replace transformation. Additionally, a site administrator must approve the crafted comment before the payload is served to other visitors.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.2 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | Wordfence |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
LazyLoad Plugin – Lazy Load Images, Videos, and Iframeswp_media |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/af1060c6-9247-4059-ad6e-993fb7cee6d4?source=cve
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Dependencies/RocketLazyload/Image.php#L118
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Dependencies/RocketLazyload/Image.php#L115
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Dependencies/RocketLazyload/Image.php#L116
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Dependencies/RocketLazyload/Image.php#L70
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Subscriber/LazyloadSubscriber.php#L326
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Subscriber/LazyloadSubscriber.php#L313
- https://plugins.trac.wordpress.org/browser/rocket-lazy-load/tags/2.4.0/src/Subscriber/LazyloadSubscriber.php#L82
- https://wordpress.org/plugins/rocket-lazy-load/
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3730807%40rocket-lazy-load%2Ftags%2F2.4.1&old=3380138%40rocket-lazy-load%2Ftags%2F2.4.0
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.