CVE-2022-23474
Codex Editor.js vulnerability
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.
Affected products
Editor.js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Codex Editor.js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/codex-team/editor.js/pull/2100 · Exploit
- securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2022-23474
- github.com/codex-team/editor.js/commit/f659015be6de8e6f0c322c5ff4d1a4532d2f29a2
- securitylab.github.com/advisories
- securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js
- github.com/advisories/GHSA-6mvj-2569-3mcm
- nvd.nist.gov/vuln/detail/CVE-2022-23474
- cve.org/CVERecord?id=CVE-2022-23474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.