{"id":"CVE-2026-124493","aliases":["EUVD-2026-119548","GHSA-h9pq-57qf-vvfh","GHSA-pxmj-79fq-gv83"],"status":"published","title":"SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","severity":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00344,"percentile":0.28348,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-11-08T13:16:09Z","modified":"2026-11-12T14:17:28Z","products":[{"vendor":"jihong88","product":"suneditor"}],"references":[{"url":"https://github.com/JiHong88/suneditor/security/advisories/GHSA-h9pq-57qf-vvfh","tags":["vendor-advisory","exploit","advisory"]},{"url":"https://www.vulncheck.com/advisories/suneditor-before-3.4.0-stored-xss-via-documenttype-header-textcontent","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124493","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pxmj-79fq-gv83"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124493.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-124493","title":"SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","status":"published","published":"2026-11-08T13:16:09.204Z","modified":"2026-11-12T14:12:42.9Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-12T15:44:17.383251Z"}],"euvd":[{"id":"EUVD-2026-119548","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","status":"published","published":"2026-11-08T13:16:09Z","modified":"2026-11-12T14:12:42Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical"}],"updated_at":"2026-11-08T18:13:38.995386Z"}],"ghsa":[{"id":"GHSA-pxmj-79fq-gv83","title":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType...","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","status":"published","published":"2026-11-08T15:31:30Z","modified":"2026-11-08T15:31:37Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-08T15:43:44.180314Z"}],"nvd":[{"id":"CVE-2026-124493","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","status":"published","published":"2026-11-08T14:18:19.13Z","modified":"2026-11-12T14:17:28.28Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/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","level":"critical","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-12T15:31:32.275584Z"}],"osv":[{"id":"CVE-2026-124493","title":"SunEditor before 3.4.0 Stored XSS via DocumentType Header textContent","description":"SunEditor before 3.4.0 contains a stored cross-site scripting vulnerability in the DocumentType constructor that injects header textContent into innerHTML without HTML escaping. Attackers can store entity-encoded HTML in h1-h6 headers that executes JavaScript when editors using document:header mode initialize, enabling session cookie theft.","status":"published","published":"2026-11-08T13:16:09.204Z","modified":"2026-11-10T02:45:55.594801534Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","level":"critical"}],"cwes":["CWE-79"],"updated_at":"2026-11-09T03:16:17.543303Z"}]}}
