@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 allows stored XSS via the title in a .md file.
PUBLISHED5.2CWE-79
Problem type
Affected products
diplodoc-platform
@diplodoc/search-extension
< 3.0.3 - AFFECTED
References
github.com
https://github.com/diplodoc-platform/search-extension/releases
github.com
https://github.com/diplodoc-platform/search-extension/pull/41
github.com
https://github.com/diplodoc-platform/search-extension/releases/tag/v3.0.3
GitHub Security Advisories
GHSA-rjmp-rwj4-mv82
@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 allows stored XSS via the title in a ...
https://github.com/advisories/GHSA-rjmp-rwj4-mv82@diplodoc/search-extension 1.0.0 through 3.x before 3.0.3 allows stored XSS via the title in a .md file.
nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2026-40201
github.com
https://github.com/diplodoc-platform/search-extension/pull/41
github.com
https://github.com/diplodoc-platform/search-extension/releases
github.com
https://github.com/diplodoc-platform/search-extension/releases/tag/v3.0.3
github.com
https://github.com/advisories/GHSA-rjmp-rwj4-mv82
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-40201Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-40201",
"assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"assignerShortName": "mitre",
"dateUpdated": "2026-05-01T08:40:58.229Z",
"dateReserved": "2026-04-10T06:45:33.622Z",
"datePublished": "2026-05-01T08:36:39.932Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
"shortName": "mitre",
"dateUpdated": "2026-05-01T08:40:58.229Z"
},
"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."
}
],
"affected": [
{
"vendor": "diplodoc-platform",
"product": "@diplodoc/search-extension",
"collectionURL": "https://registry.npmjs.org",
"packageName": "@diplodoc/search-extension",
"programFiles": [
"format.ts"
],
"programRoutines": [
{
"name": "highlighte"
}
],
"platforms": [
"Windows"
],
"repo": "https://github.com/diplodoc-platform/search-extension",
"defaultStatus": "unaffected",
"versions": [
{
"version": "1.0.0",
"status": "affected",
"versionType": "semver",
"lessThan": "3.0.3"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
"cweId": "CWE-79",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/diplodoc-platform/search-extension/releases",
"tags": [
"product"
]
},
{
"url": "https://github.com/diplodoc-platform/search-extension/pull/41"
},
{
"url": "https://github.com/diplodoc-platform/search-extension/releases/tag/v3.0.3"
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
],
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM"
}
}
],
"solutions": [
{
"lang": "en",
"value": "Use the function escapeHtml within highlighte.",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "<p>Use the function escapeHtml within highlighte.</p>"
}
]
}
]
}
}
}