Vulnerability Description
The a3 Lazy Load plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 2.7.6 This is due to a regex bug in the _filter_videos() method that breaks HTML attribute quoting when processing crafted <video> elements, combined with unescaped output in the admin/views/form-data.php template. An authenticated attacker with Contributor-level access can insert a crafted <video> tag whose src attribute contains an embedded class=" substring that tricks the plugin's class-replacement regex into consuming an attribute-value closing quote. This shifts the HTML5 parser's quote boundary, promoting attacker-controlled text from inside a quoted attribute value into standalone event-handler attributes (autofocus, onfocus). The injected script executes in the browser of any user (including administrators) who views the post.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/admin/views/form-d
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/classes/class-a3-l
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/classes/class-a3-l
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/classes/class-a3-l
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/classes/class-a3-l
- https://plugins.trac.wordpress.org/browser/a3-lazy-load/trunk/classes/class-a3-l
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fa3-lazy-load/tags/2.7.6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5246efbb-93cc-4951-900
FAQ
What is CVE-2026-6427?
CVE-2026-6427 is a vulnerability with a CVSS score of 6.4 (MEDIUM). The a3 Lazy Load plugin for WordPress is vulnerable to Stored Cross-Site Scripting in all versions up to, and including, 2.7.6 This is due to a regex bug in the _filter_videos() method that breaks HTM...
How severe is CVE-2026-6427?
CVE-2026-6427 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6427?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.