Vulnerability · Published Aug 27, 2025 · Assigned by Wordfence
CVE-2025-7732Lazy Load for Videos <= 2.18.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via data-video-title and href Attributes
Medium 6.4
In plain English
A medium-severity cross-site scripting in Lazy Load for Videos from kevinweber. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kevinweber | Lazy Load for Videos | 0 – through 2.18.7 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/9d28bd7d-ad3f-4720-9e09-466169fc672b?source=cve
- https://plugins.trac.wordpress.org/browser/lazy-load-for-videos/trunk/public/js/lazyload-youtube.js
- https://plugins.trac.wordpress.org/browser/lazy-load-for-videos/trunk/public/js/lazyload-vimeo.js
- https://wordpress.org/plugins/lazy-load-for-videos/#developers
- https://plugins.trac.wordpress.org/changeset/3348894