CVE-2022-23474
MEDIUMCVSS 6.1/10EPSS 0.53%
Last modified
CVE-2022-23474 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Editor.js is a block-style editor with clean JSON output. Versions prior to 2.26.0 are vulnerable to Code Injection via pasted input. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
Editor.js is a block-style editor with clean JSON output. Versions prior to 2.26.0 are vulnerable to Code Injection via pasted input. The processHTML method passes pasted input into wrapper’s innerHTML. This issue is patched in version 2.26.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Codex | Editor.Js | < 2.26.0 |
References
- https://github.com/codex-team/editor.js/pull/2100Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/Exploit, Patch, Third Party Advisory
- https://github.com/codex-team/editor.js/pull/2100Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23474?
Editor.js is a block-style editor with clean JSON output. Versions prior to 2.26.0 are vulnerable to Code Injection via pasted input. The processHTML method passes pasted input into wrapper’s innerHTML. This issue is patched in version 2.26.0.
How severe is CVE-2022-23474?
CVE-2022-23474 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.53% probability of exploitation in the next 30 days.
How do I fix CVE-2022-23474?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-23469Traefik is an open source HTTP reverse proxy and load balanc…6.5
- CVE-2022-2347There exists an unchecked length field in UBoot. The U-Boot …7.1
- CVE-2022-23470Galaxy is an open-source platform for data analysis. An arbi…7.5
- CVE-2022-23471containerd is an open source container runtime. A bug was fo…6.5
- CVE-2022-23472Passeo is an open source python password generator. Versions…7.5
- CVE-2022-23473Tuleap is an Open Source Suite to improve management of soft…4.3
- CVE-2022-23475daloRADIUS is an open source RADIUS web management applicati…8.8
- CVE-2022-23476Nokogiri is an open source XML and HTML library for the Ruby…7.5
- CVE-2022-23477xrdp is an open source project which provides a graphical lo…9.8
- CVE-2022-23478xrdp is an open source project which provides a graphical lo…9.8
- CVE-2022-23479xrdp is an open source project which provides a graphical lo…9.8
- CVE-2022-2348Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2022-23474?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
