Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12457: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in ideastocode Enable SVG, WebP, and ICO Upload

0
Medium
VulnerabilityCVE-2025-12457cvecve-2025-12457cwe-79
Published: Tue Nov 18 2025 (11/18/2025, 09:27:40 UTC)
Source: CVE Database V5
Vendor/Project: ideastocode
Product: Enable SVG, WebP, and ICO Upload

Description

The Enable SVG, WebP, and ICO Upload plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.1.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the SVG file.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 20:35:29 UTC

Technical Analysis

CVE-2025-12457 is a stored cross-site scripting vulnerability classified under CWE-79, found in the 'Enable SVG, WebP, and ICO Upload' WordPress plugin developed by ideastocode. This plugin allows users to upload SVG, WebP, and ICO image files to WordPress sites. The vulnerability exists because the plugin fails to properly sanitize and escape SVG file content before storing and rendering it. Specifically, authenticated users with Author-level permissions or higher can upload crafted SVG files containing malicious JavaScript code. When other users or administrators access pages displaying these SVG files, the embedded scripts execute in their browsers. This can lead to theft of authentication cookies, session tokens, or other sensitive information, as well as unauthorized actions performed on behalf of the victim user. The vulnerability affects all plugin versions up to and including 1.1.2. The CVSS 3.1 base score is 6.4, indicating a medium severity level. The attack vector is network-based, with low complexity, requiring privileges equivalent to an Author role, and no user interaction is needed beyond viewing the malicious SVG. The vulnerability has a scope change, as it can affect other users beyond the attacker. No patches or fixes have been officially released as of the publication date, and no known exploits are currently in the wild. This vulnerability highlights the risks of allowing SVG uploads without strict sanitization, as SVG files can contain executable code.

Potential Impact

The impact of CVE-2025-12457 is significant for organizations running WordPress sites with the affected plugin installed. An attacker with Author-level access can inject persistent malicious scripts that execute in the browsers of site visitors and administrators. This can lead to compromised user accounts, theft of sensitive data such as cookies and tokens, unauthorized actions performed with victim privileges, and potential lateral movement within the site. Since WordPress is widely used for websites globally, including corporate, governmental, and e-commerce sites, exploitation could undermine trust, lead to data breaches, and cause reputational damage. The vulnerability does not directly impact availability but compromises confidentiality and integrity. The requirement for authenticated access limits the attack surface but does not eliminate risk, especially on sites with multiple contributors or where account compromise is possible. The scope of impact extends beyond the attacker to all users who view the malicious SVG content, increasing potential damage.

Mitigation Recommendations

To mitigate CVE-2025-12457, organizations should immediately restrict SVG upload capabilities to only highly trusted users or disable SVG uploads entirely until a patch is available. Implement strict server-side sanitization of SVG files using robust libraries that remove scripts and dangerous elements before storage or rendering. Employ Content Security Policy (CSP) headers to restrict script execution and reduce the impact of any injected scripts. Regularly audit user roles and permissions to minimize the number of users with Author-level or higher access. Monitor logs for suspicious SVG uploads or unusual user activity. If possible, update to a patched version of the plugin once released by the vendor. Additionally, consider using alternative plugins with secure SVG handling or convert SVGs to safer formats before upload. Educate site administrators and users about the risks of uploading untrusted SVG content. Finally, implement web application firewalls (WAFs) with rules to detect and block malicious SVG payloads.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-28T23:04:21.568Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691c3e32a312a743bb510b8e

Added to database: 11/18/2025, 9:36:50 AM

Last enriched: 2/27/2026, 8:35:29 PM

Last updated: 3/25/2026, 1:43:07 AM

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses