Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization — CVE-2026-65841
GitHub · GitHub · CVE-2026-65841
ID
CVE-2026-65841
CVE-2026-65841
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
Summary
A `<script>` element placed directly inside an `<svg>` (or MathML) container was not removed by Jodit's clean-html sanitizer. The deny/allow tag filter compared `node.nodeName` against an upper-cased tag hash, but foreign (SVG/MathML) elements preserve their original-case node names — an SVG script reports `"script"`, not `"SCRIPT"` — so the default `denyTags` list (which includes `script`) did not match it. The…
Timeline
- Published by source
- 2026-07-31
Risk context
- Reported severity or threat level: medium.
- Review exposure for the affected product or family: npm: jodit.
Product
npm: jodit
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- CVE-2026-65841
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-07-31
- Last source activity
- 2026-07-31
- Additional identifiers
- GHSA-45QG-252V-3F7P
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.