CVE-2022-23461 Cross-Site Scripting (XSS) in Jodit Editor
Attackers can execute arbitrary scripts via specially constructed input pasted into the Jodit Editor, affecting applications using this library.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-23461?
CVE-2022-23461 is a medium-severity cross-site scripting vulnerability in xdan Jodit Editor, published on 24 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jodit Editor is a WYSIWYG editor written in pure TypeScript without the use of additional libraries. Jodit Editor is vulnerable to XSS attacks when pasting specially constructed input. This issue has not been fully patched. There are no known workarounds.
Weakness: CWE-79
Which versions are affected by CVE-2022-23461?
2 open source packages ship an affected version, including jodit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jodit npm | All versions to 3.24.2 | None |
jodit npm | All versions to 3.24.2 | None |
Products include Xdsoft Jodit Editor.
How do I fix CVE-2022-23461?
No fix has been published for CVE-2022-23461 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-23461 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-23461 exists.
Sources
Also known as GHSA-42hx-vrxx-5r6v.