{"api_version":"1","generated_at":"2026-11-23T20:42:49+00:00","cve":"CVE-2026-135237","urls":{"html":"https://cve.report/CVE-2026-135237","api":"https://cve.report/api/cve/CVE-2026-135237.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-135237","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-135237"},"summary":{"title":"MISP DOM-based Cross-Site Scripting via Incomplete Quote Escaping in Event Report Element Templates","description":"MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser.\n\nPreconditions:\n- The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author).\n- A victim must open or view the crafted report in a browser.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the context of the victim's MISP session.\n- Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim.\n\nAffected versions: MISP prior to 2.5.52.","state":"PUBLISHED","assigner":"CIRCL","published_at":"2026-11-23 16:17:41","updated_at":"2026-11-23 16:17:41"},"problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":[{"version":"4.0","source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","score":"6.2","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"6.2","severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.2,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3","name":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3","refsource":"5a6e4751-2f3f-4070-9419-94fb35b644e8","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135237","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135237","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"MISP","product":"MISP","version":"affected 2.5.52 semver","platforms":[]}],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"The sanitization function now additionally escapes double-quote characters to &quot; and single-quote characters to &#039; after the existing ampersand/angle-bracket escaping. This ensures that values placed inside quoted HTML attributes by the doT templates cannot break out of the attribute context, eliminating the DOM-based XSS vector.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"ENISA","lang":"en"},{"source":"CNA","value":"iglocska","lang":"en"},{"source":"CNA","value":"Claude Opus 5.5","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:misp:misp:*:*:*:*:*:*:*:*"],"modules":["markdownEditor (event report element rendering)"],"product":"MISP","programFiles":["app/webroot/js/markdownEditor/markdownEditor.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 the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser.\n\nPreconditions:\n- The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author).\n- A victim must open or view the crafted report in a browser.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the context of the victim's MISP session.\n- Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim.\n\nAffected versions: MISP prior to 2.5.52."}],"impacts":[{"capecId":"CAPEC-126","descriptions":[{"lang":"en","value":"CAPEC-126 DOM-based Cross-Site Scripting"}]},{"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.2,"baseSeverity":"MEDIUM","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/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":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:38:37Z","version":"2.0.3"},"type":"SSVC"},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-23T15:39:34.802Z","orgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","shortName":"CIRCL"},"references":[{"name":"Security patch","tags":["patch"],"url":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3"}],"solutions":[{"lang":"en","value":"The sanitization function now additionally escapes double-quote characters to &quot; and single-quote characters to &#039; after the existing ampersand/angle-bracket escaping. This ensures that values placed inside quoted HTML attributes by the doT templates cannot break out of the attribute context, eliminating the DOM-based XSS vector."}],"title":"MISP DOM-based Cross-Site Scripting via Incomplete Quote Escaping in Event Report Element Templates","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 an authenticated MISP account with permission to create or edit event report elements; the patch does not specify the exact role required.","UI:A assumes the victim must actively open the crafted report; it is unclear whether the report could be auto-loaded in a dashboard or notification context that would lower UI to Passive.","The affected version range is inferred from the explicit context (fixed in 2.5.52); the patch itself does not enumerate all affected versions.","CAPEC-126 mapping is confident based on the client-side DOM rendering context, but the exact browser rendering path (doT template evaluation) is an implementation detail that could theoretically be classified under a different CAPEC sub-pattern.","SC:H and SI:H assume the XSS executes in the same origin as the MISP application, granting access to session cookies and API endpoints; this is the standard assumption for same-origin DOM XSS."],"capecRationale":[{"capecId":"CAPEC-126","rationale":"The vulnerability is a textbook DOM-based XSS: attacker-controlled data is processed entirely client-side by JavaScript (sanitizeObject + doT templates) and rendered into the DOM without sufficient encoding for the attribute context. CAPEC-126 is the most specific match. The mapping is confident because the patch explicitly addresses client-side escaping of values rendered into HTML attributes."},{"capecId":"CAPEC-1","rationale":"General XSS pattern. Included as a broader classification alongside the more specific DOM-based variant. The attacker injects a quote to break out of an HTML attribute and inject script."}],"commit":"386942fd34857ba80cfa518471c3230ff21ac7e3","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"},{"lang":"en","type":"tool","value":"Claude Opus 5.5"}],"cvssRationale":"AV:N - web application accessible over network. AC:L - crafting a value with a quote character is trivial. AT:N - no special target manipulation. PR:L - attacker needs authenticated access with report-authoring privileges. UI:A - victim must actively open/view the crafted report. VC/VI/VA:N - the MISP server itself is not directly compromised; impact is in the victim's browser. SC:H - attacker can read cookies, tokens, and sensitive data in the victim's session. SI:H - attacker can perform actions on behalf of the victim (CSRF-like, data modification). SA:N - no availability impact on other systems.","fixSummary":"The sanitization function now additionally escapes double-quote characters to &quot; and single-quote characters to &#039; after the existing ampersand/angle-bracket escaping. This ensures that values placed inside quoted HTML attributes by the doT templates cannot break out of the attribute context, eliminating the DOM-based XSS vector.","generatedAt":"2026-11-23T09:38:37.943160Z","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":"616c9466d550d5a11b766cd1d31eb434a37ee85901be9cefdd9850f20a1cb1da","patchSummary":"In app/webroot/js/markdownEditor/markdownEditor.js, the sanitizeObject() function was modified to append .replace(/\"/g, '&quot;').replace(/'/g, '&#039;') after the existing jQuery .text().html() escaping. A new test file app/Test/js/EventReportElementEscaping.test.mjs was added that verifies: (1) a value containing a double-quote inside a data-elementid attribute does not break out of the attribute, and (2) values that the template encodes again are not double-escaped.","patchTruncated":false,"patches":[{"commit":"386942fd34857ba80cfa518471c3230ff21ac7e3","date":"Mon, 16 Nov 2026 00:16:17 +0100","patchSha256":"616c9466d550d5a11b766cd1d31eb434a37ee85901be9cefdd9850f20a1cb1da","retrievedAt":"2026-11-23T09:38:11.092561Z","source":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3","sourceUrl":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3","subject":"fix: [security] Escape quotes in event report element"}],"source":"https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3","ssvc":{"options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"Supplier","timestamp":"2026-11-23T09:38:37Z","version":"2.0.3"},"subject":"fix: [security] Escape quotes in event report element","weaknessRationale":[{"cweId":"CWE-79","rationale":"The vulnerability allows injection of script into a web page via insufficient escaping of quote characters in HTML attribute context, which is a classic DOM-based XSS."},{"cweId":"CWE-116","rationale":"The root cause is that the output encoding (escaping) was incomplete: it handled &, <, > but not the quote characters required when the output is placed inside a quoted HTML attribute."}]}},"bcp-05-x-03":{"x_timeline":{"events":[{"description":"Corrective change authored (386942fd34857ba80cfa518471c3230ff21ac7e3): fix: [security] Escape quotes in event report element","id":"evt-fix-developed-1","references":["https://github.com/MISP/MISP/commit/386942fd34857ba80cfa518471c3230ff21ac7e3"],"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/386942fd34857ba80cfa518471c3230ff21ac7e3"],"timestamp":"2026-11-23T09:38:11.092561Z","type":"fix-available"}]}}},"recordType":"advisory","vulnId":"GCVE-1-2026-20430"}]}},"cveMetadata":{"assignerOrgId":"5a6e4751-2f3f-4070-9419-94fb35b644e8","assignerShortName":"CIRCL","cveId":"CVE-2026-135237","datePublished":"2026-11-23T15:39:34.802Z","dateReserved":"2026-11-23T15:39:28.151Z","dateUpdated":"2026-11-23T15:39:34.802Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-23 16:17:41","lastModifiedDate":"2026-11-23 16:17:41","problem_types":["CWE-79","CWE-116","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","CWE-116 CWE-116 Improper Encoding or Escaping of Output"],"metrics":{"cvssMetricV40":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","type":"Secondary","cvssData":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":6.2,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"5a6e4751-2f3f-4070-9419-94fb35b644e8","ssvcData":{"timestamp":"2026-11-23T09:38:37Z","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"Supplier","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"135237","Ordinal":"1","Title":"MISP DOM-based Cross-Site Scripting via Incomplete Quote Escapin","CVE":"CVE-2026-135237","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"135237","Ordinal":"1","NoteData":"MISP contains a DOM-based Cross-Site Scripting (XSS) vulnerability in the event report element rendering pipeline. The client-side sanitization function used to prepare values for doT templates only escaped ampersand, less-than, and greater-than characters. However, the templates place these values inside double-quoted HTML attributes. Because double-quote and single-quote characters were not escaped, a user with the ability to author or modify report element values could inject a quote character to break out of the attribute context and inject arbitrary HTML or JavaScript that executes in the viewing user's browser.\n\nPreconditions:\n- The attacker must be an authenticated user with permission to create or edit event report elements (e.g., a report author).\n- A victim must open or view the crafted report in a browser.\n\nSecurity impact:\n- Execution of arbitrary JavaScript in the context of the victim's MISP session.\n- Potential theft of session tokens, sensitive data, or unauthorized actions performed on behalf of the victim.\n\nAffected versions: MISP prior to 2.5.52.","Type":"Description","Title":"MISP DOM-based Cross-Site Scripting via Incomplete Quote Escapin"}]}}}