# CVE-2023-42399: Jodit Editor cross-site scripting in rich text editor

Source: https://junglewise.ai/threats/cve-2023-42399-jodit-editor-cross-site-scripting-in-rich-text-editor  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-09-19. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2023-42399 · Severity: low · CVSS 3.1 · Published 2023-09-19

Jodit Editor is a popular JavaScript-based rich text editor component used in web applications to allow users to create and edit formatted content. An attacker can inject malicious JavaScript code through the editor's content, which executes in the browsers of anyone viewing that content, potentially stealing session cookies, stealing sensitive information, or performing actions on behalf of the victim.

Technologies: [jodit (npm)](https://junglewise.ai/threats/technologies/jodit). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2023-42399 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-42399 being exploited in the wild.

**How severe is CVE-2023-42399?** Low severity, with a CVSS score of 3.1, published 19 September 2023.

**Which products and versions are affected?** xdsoft Jodit Editor 4.0.0-beta.86 and earlier 4.x versions.

**Is there a fix for CVE-2023-42399?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2023-42399 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2023-42399?** Check whether you run jodit (npm). Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a Stored/Reflected XSS (CWE-79) in Jodit Editor's rich text editor component that fails to properly sanitize or filter user input. The editor does not completely remove malicious XSS payloads such as `<iframe src="JavaScript: alert (/xss/)">`, allowing attackers to inject arbitrary JavaScript that executes in the context of the application. The attack requires user interaction (opening or viewing the malicious content) but does not require authentication or special network conditions. An attacker can obtain sensitive information through this vulnerability and potentially execute arbitrary actions in the context of the web application.

## Affected products

- xdsoft Jodit Editor 4.0.0-beta.86 and earlier 4.x versions

## Identifiers

- CVE-2023-42399
- GHSA-95xr-cq6h-vwr3

## Timeline

- 2023-09-19: disclosed: Vulnerability published in GitHub Security Advisory
- 2023-09-18: other: Issue reported on GitHub

## References

- [https://github.com/xdan/jodit/issues/1017](https://github.com/xdan/jodit/issues/1017)

## Related threats

- [xdan Jodit Editor XSS via SVG and MathML bypass in clean-html](https://junglewise.ai/threats/cve-2026-65841-xdan-jodit-editor-xss-via-svg-and-mathml-bypass-in-clean-html)
- [xdan Jodit Editor XSS via incomplete href normalization](https://junglewise.ai/threats/cve-2026-62324-xdan-jodit-editor-xss-via-incomplete-href-normalization)
- [Jodit Editor Mutation XSS in clean-html sanitizer](https://junglewise.ai/threats/cve-2026-58263-jodit-editor-mutation-xss-in-clean-html-sanitizer)
- [xdan Jodit Editor prototype pollution in Helpers.set](https://junglewise.ai/threats/cve-2026-55886-xdan-jodit-editor-prototype-pollution-in-helpers-set)
- [xdan Jodit Editor prototype pollution in Jodit.configure](https://junglewise.ai/threats/cve-2026-54756-xdan-jodit-editor-prototype-pollution-in-jodit-configure)
