GCVE-1-2026-20431
Vulnerability from gna-1 – Published: 2026-11-23 15:37 – Updated: 2026-11-23 15:37| URL | Tags |
|---|---|
| https://github.com/MISP/MISP/commit/69801fc647c33… | patch |
qwen3.8:27b
2 events
advisory
bcp-05-x-01bcp-05-x-02bcp-05-x-03
Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.
| Model | Source | Identifier |
|---|---|---|
| qwen3.8:27b | ollama | qwen3.8:27b |
- Generator
-
patch2vuln.pyon 2026-11-23 09:39 - Model
qwen3.8:27b- Input
-
https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b
5fb036714a86… - Confidence
- high
| Commit | Subject | Patch SHA-256 |
|---|---|---|
69801fc647c3
|
fix: [security] Debug strip rebuilds the blocks it lists from | 5fb036714a86… |
Fix summary
The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip.
Patch summary
In app/webroot/js/mispOvermind.js, a new inert() method is added to the debugStrip object that recursively rebuilds DOM nodes: it only permits a fixed set of tags (A, B, BR, CODE, DIV, EM, I, LI, OL, P, PRE, SMALL, SPAN, STRONG, UL), retains only cake-* and code-highlight CSS classes, copies only display and color style properties, strips all other attributes, and converts onclick toggle patterns into data-ov-debug-toggle / data-ov-debug-id attributes. A new toggle() handler and a single delegated click listener replace all inline onclick handlers. All four call sites that previously used document.importNode(block, true) are changed to this.inert(block). A new test file app/Test/js/DebugStripBlocks.test.mjs verifies that imported blocks are rebuilt (not cloned), that only allowed classes and styles survive, and that the toggle mechanism still functions.
CVSS rationale
AV:N – MISP is a network-accessible web application. AC:L – the attacker only needs to store a value shaped like a debug block; no race condition or special timing is required. AT:N – no manipulation of the attack target is needed. PR:L – the attacker needs a low-privilege MISP account (or a feed-sharing relationship) to inject the malicious content; the victim also needs an account. UI:N – the victim simply views a page in MISP that contains the crafted content; no special interaction beyond normal browsing is required. VC/VI/VA:N – the vulnerable component (the MISP server) is not directly compromised; the impact is in the victim's browser. SC:H – the XSS executes in the victim's authenticated browser session, allowing full read access to session data, API tokens, and displayed threat-intelligence content. SI:H – the attacker can modify the page, submit forms, or perform actions as the victim. SA:N – no impact on the system's security authority or privilege boundaries.
Weakness rationale
- CWE-79 The debug strip imported unsanitized DOM nodes (including inline event handlers, arbitrary attributes, and script-bearing elements) directly into the live document, enabling DOM-based XSS. The fix sanitizes by rebuilding from an allow-list, confirming the root cause was lack of output/input neutralization before DOM insertion.
- CWE-20 The debug block content sourced from responses, JSON strings, and attribute values was not validated or sanitized before being inserted into the DOM. The patch introduces an allow-list of tags, classes, and style properties, which is a form of input validation on the DOM content.
Attack pattern rationale
- CAPEC-66 The vulnerability is a textbook DOM-based XSS: attacker-controlled content stored in MISP (attribute values, JSON fields, response bodies) is imported into the live DOM without sanitization, allowing inline handlers and script-bearing markup to execute in the victim's browser. CAPEC-66 is the most specific match. The mapping is confident because the patch explicitly replaces document.importNode with a sanitizing rebuild function and removes inline event handlers.
- CAPEC-1 As a broader category, CAPEC-1 covers all XSS variants. It is included as a secondary mapping because the vulnerability could also be triggered via reflected or stored vectors depending on how the attacker injects the malicious debug-block-shaped content into MISP data fields.
Assumptions to verify
- PR:L assumes the attacker needs at least a low-privilege MISP account or a feed-sharing relationship to inject the malicious content; if MISP instances are configured with anonymous read access to certain feeds, PR could be N.
- UI:N assumes the debug strip is active by default when a user views data in MISP; if it requires an explicit developer-mode toggle, UI could be A.
- The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not specify a minimum affected version.
- CAPEC-66 is selected as the best-fit attack pattern; the mapping is confident based on the patch evidence but the exact injection vector (stored vs. reflected) depends on deployment configuration.
- The Co-Authored-By line credits Claude Opus 5.5 as a remediation developer; this is recorded as-is from the commit metadata without independent verification of the contribution.
Model comparison
Selected qwen3.8:27b
by deterministic-consensus-v1
The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required.
| Model | Score | Agreement | Confidence | Assumptions |
|---|---|---|---|---|
qwen3.8:27b |
8 | 11 | high | 5 |
- 2026-11-15 23:16 UTC Fix developed Corrective change authored (69801fc647c331162d8b5893bc04a97fe2909c5b): fix: [security] Debug strip rebuilds the blocks it lists from https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b
- 2026-11-23 09:38 UTC Fix available Patch retrieved from the supplied URL; retrieval time is used as the default availability time. https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b
{
"containers": {
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"
],
"modules": [
"Overmind debug strip (mispOvermind.js)"
],
"product": "MISP",
"programFiles": [
"app/webroot/js/mispOvermind.js"
],
"repo": "https://github.com/MISP/MISP",
"vendor": "MISP",
"versions": [
{
"lessThan": "2.5.52",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "ENISA"
},
{
"lang": "en",
"type": "remediation developer",
"value": "iglocska"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Claude Opus 5.5"
}
],
"descriptions": [
{
"lang": "en",
"value": "MISP contains a DOM-based cross-site scripting (XSS) vulnerability in its Overmind debug strip feature. The debug strip collects and displays debug blocks found in HTTP response bodies, JSON strings, and attribute values. Previously, these blocks were imported directly into the DOM using a deep node import, meaning any stored or transmitted value shaped like a debug block (for example, a pre element with a cake-error class) was rendered as live markup. An attacker who can influence the content of a response, a JSON field, or an attribute value stored in MISP could embed arbitrary HTML, inline event handlers, script-bearing attributes, or javascript: URIs that would execute in the context of a victim\u0027s browser session.\n\nPreconditions:\n- The attacker must be able to inject or influence content that MISP renders (e.g., a shared threat-intelligence feed, a crafted attribute value, or a response body).\n- The victim must be an authenticated MISP user who views the affected page with the debug strip active.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the victim\u0027s authenticated MISP session.\n- Potential theft of session tokens, API keys, or sensitive threat-intelligence data visible in the browser.\n- Manipulation of the page content or submission of forged requests on behalf of the victim.\n\nAffected versions: MISP prior to 2.5.52."
}
],
"impacts": [
{
"capecId": "CAPEC-66",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-66 Cross Site Scripting (DOM-based)"
}
]
},
{
"capecId": "CAPEC-1",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-1 Cross Site Scripting"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "NETWORK",
"baseScore": 6.4,
"baseSeverity": "MEDIUM",
"privilegesRequired": "LOW",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "HIGH",
"subIntegrityImpact": "HIGH",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"format": "SSVC",
"other": {
"content": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "Supplier",
"timestamp": "2026-11-23T09:39:11Z",
"version": "2.0.3"
},
"type": "SSVC"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79 Improper Neutralization of Input in Web Page (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20 Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"orgId": "00000000-0000-4000-8000-000000000000"
},
"references": [
{
"name": "Security patch",
"tags": [
"patch"
],
"url": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
}
],
"solutions": [
{
"lang": "en",
"value": "The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip."
}
],
"title": "MISP Debug Strip DOM-Based Cross-Site Scripting via Unsanitized Debug Block Import",
"x_gcve": [
{
"extensions": {
"bcp-05-x-01": {
"ai_annotations": [
{
"ai_level": "generated",
"description": "Draft vulnerability metadata was generated from a git-format patch using an Ollama-hosted language model. Human validation is required before publication.",
"gna_source": 1,
"models": [
{
"gna_source": 1,
"identifier": "qwen3.8:27b",
"name": "qwen3.8:27b",
"source": "ollama"
}
],
"review_status": "full",
"scope": "record",
"tags": [
"ai-computer-assisted:llm-generated",
"ai-computer-assisted:classification"
]
}
]
},
"bcp-05-x-02": {
"x_patch2vuln": {
"assumptions": [
"PR:L assumes the attacker needs at least a low-privilege MISP account or a feed-sharing relationship to inject the malicious content; if MISP instances are configured with anonymous read access to certain feeds, PR could be N.",
"UI:N assumes the debug strip is active by default when a user views data in MISP; if it requires an explicit developer-mode toggle, UI could be A.",
"The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not specify a minimum affected version.",
"CAPEC-66 is selected as the best-fit attack pattern; the mapping is confident based on the patch evidence but the exact injection vector (stored vs. reflected) depends on deployment configuration.",
"The Co-Authored-By line credits Claude Opus 5.5 as a remediation developer; this is recorded as-is from the commit metadata without independent verification of the contribution."
],
"capecRationale": [
{
"capecId": "CAPEC-66",
"rationale": "The vulnerability is a textbook DOM-based XSS: attacker-controlled content stored in MISP (attribute values, JSON fields, response bodies) is imported into the live DOM without sanitization, allowing inline handlers and script-bearing markup to execute in the victim\u0027s browser. CAPEC-66 is the most specific match. The mapping is confident because the patch explicitly replaces document.importNode with a sanitizing rebuild function and removes inline event handlers."
},
{
"capecId": "CAPEC-1",
"rationale": "As a broader category, CAPEC-1 covers all XSS variants. It is included as a secondary mapping because the vulnerability could also be triggered via reflected or stored vectors depending on how the attacker injects the malicious debug-block-shaped content into MISP data fields."
}
],
"commit": "69801fc647c331162d8b5893bc04a97fe2909c5b",
"confidence": "high",
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "ENISA"
},
{
"lang": "en",
"type": "remediation developer",
"value": "iglocska"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Claude Opus 5.5"
}
],
"cvssRationale": "AV:N \u2013 MISP is a network-accessible web application. AC:L \u2013 the attacker only needs to store a value shaped like a debug block; no race condition or special timing is required. AT:N \u2013 no manipulation of the attack target is needed. PR:L \u2013 the attacker needs a low-privilege MISP account (or a feed-sharing relationship) to inject the malicious content; the victim also needs an account. UI:N \u2013 the victim simply views a page in MISP that contains the crafted content; no special interaction beyond normal browsing is required. VC/VI/VA:N \u2013 the vulnerable component (the MISP server) is not directly compromised; the impact is in the victim\u0027s browser. SC:H \u2013 the XSS executes in the victim\u0027s authenticated browser session, allowing full read access to session data, API tokens, and displayed threat-intelligence content. SI:H \u2013 the attacker can modify the page, submit forms, or perform actions as the victim. SA:N \u2013 no impact on the system\u0027s security authority or privilege boundaries.",
"fixSummary": "The vulnerability is remediated by replacing the direct DOM node import with a sanitization function that rebuilds each debug block from scratch using a strict allow-list of safe HTML tags, a restricted set of CSS classes (Cake-specific and code-highlight only), and only the display and color style properties. All inline event handlers are stripped and replaced with a data-attribute-based toggle mechanism driven by a single delegated event listener, eliminating the ability for stored content to carry executable script or event handlers into the rendered debug strip.",
"generatedAt": "2026-11-23T09:39:11.352164Z",
"generator": "patch2vuln.py",
"model": "qwen3.8:27b",
"modelComparison": {
"potentialErrors": [],
"rankings": [
{
"agreementScore": 11,
"assumptionCount": 5,
"confidence": "high",
"model": "qwen3.8:27b",
"score": 8
}
],
"selectedModel": "qwen3.8:27b",
"selectionMethod": "deterministic-consensus-v1",
"selectionNotice": "The selected result is closest to model consensus; this heuristic does not establish factual correctness and human review remains required."
},
"patchSha256": "5fb036714a866a0296dd67359c7030e1f1e54edac8ee1f374cf33c4b6e0835cc",
"patchSummary": "In app/webroot/js/mispOvermind.js, a new inert() method is added to the debugStrip object that recursively rebuilds DOM nodes: it only permits a fixed set of tags (A, B, BR, CODE, DIV, EM, I, LI, OL, P, PRE, SMALL, SPAN, STRONG, UL), retains only cake-* and code-highlight CSS classes, copies only display and color style properties, strips all other attributes, and converts onclick toggle patterns into data-ov-debug-toggle / data-ov-debug-id attributes. A new toggle() handler and a single delegated click listener replace all inline onclick handlers. All four call sites that previously used document.importNode(block, true) are changed to this.inert(block). A new test file app/Test/js/DebugStripBlocks.test.mjs verifies that imported blocks are rebuilt (not cloned), that only allowed classes and styles survive, and that the toggle mechanism still functions.",
"patchTruncated": false,
"patches": [
{
"commit": "69801fc647c331162d8b5893bc04a97fe2909c5b",
"date": "Mon, 16 Nov 2026 00:16:17 +0100",
"patchSha256": "5fb036714a866a0296dd67359c7030e1f1e54edac8ee1f374cf33c4b6e0835cc",
"retrievedAt": "2026-11-23T09:38:39.016424Z",
"source": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
"sourceUrl": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
"subject": "fix: [security] Debug strip rebuilds the blocks it lists from"
}
],
"source": "https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b",
"ssvc": {
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "Supplier",
"timestamp": "2026-11-23T09:39:11Z",
"version": "2.0.3"
},
"subject": "fix: [security] Debug strip rebuilds the blocks it lists from",
"weaknessRationale": [
{
"cweId": "CWE-79",
"rationale": "The debug strip imported unsanitized DOM nodes (including inline event handlers, arbitrary attributes, and script-bearing elements) directly into the live document, enabling DOM-based XSS. The fix sanitizes by rebuilding from an allow-list, confirming the root cause was lack of output/input neutralization before DOM insertion."
},
{
"cweId": "CWE-20",
"rationale": "The debug block content sourced from responses, JSON strings, and attribute values was not validated or sanitized before being inserted into the DOM. The patch introduces an allow-list of tags, classes, and style properties, which is a form of input validation on the DOM content."
}
]
}
},
"bcp-05-x-03": {
"x_timeline": {
"events": [
{
"description": "Corrective change authored (69801fc647c331162d8b5893bc04a97fe2909c5b): fix: [security] Debug strip rebuilds the blocks it lists from",
"id": "evt-fix-developed-1",
"references": [
"https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
],
"timestamp": "2026-11-15T23:16:17Z",
"type": "fix-developed"
},
{
"description": "Patch retrieved from the supplied URL; retrieval time is used as the default availability time.",
"id": "evt-fix-available-1",
"references": [
"https://github.com/MISP/MISP/commit/69801fc647c331162d8b5893bc04a97fe2909c5b"
],
"timestamp": "2026-11-23T09:38:39.016424Z",
"type": "fix-available"
}
]
}
}
},
"recordType": "advisory",
"vulnId": "GCVE-1-2026-20431"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "00000000-0000-4000-8000-000000000000",
"datePublished": "2026-11-23T15:37:39.127228Z",
"dateUpdated": "2026-11-23T15:37:39.127228Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1-2026-20431"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Solutions
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.