CVE-2025-7732
Description
The Lazy Load for Videos plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its lazy‑loading handlers in all versions up to, and including, 2.18.7 due to insufficient input sanitization and output escaping. The plugin’s JavaScript registration handlers read the client‑supplied 'data-video-title' and 'href' attributes, decode HTML entities by default, and pass them directly into DOM sinks without any escaping or validation. 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.
Affected WordPress components
-
Lazy Load for Videos Plugin · lazy-load-for-videosUp to and including 2.18.7View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- kevinweber Lazy Load for Videos — Up to and including 2.18.7
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/lazy-load-for-videos/trunk/public/js/lazyload-vimeo.js
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/lazy-load-for-videos/trunk/public/js/lazyload-youtube.js
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3348894
- wordpress.org https://wordpress.org/plugins/lazy-load-for-videos/#developers
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/9d28bd7d-ad3f-4720-9e09-466169fc672b?source=cve
- nvd.nist.gov Official NVD record