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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:codex:editor.js:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 06:48

Type Values Removed Values Added
References () https://github.com/codex-team/editor.js/pull/2100 - Exploit, Patch, Third Party Advisory () https://github.com/codex-team/editor.js/pull/2100 - Exploit, Patch, Third Party Advisory
References () https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ - Exploit, Patch, Third Party Advisory () https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ - Exploit, Patch, Third Party Advisory

20 Dec 2022, 01:56

Type Values Removed Values Added
References (MISC) https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ - (MISC) https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ - Exploit, Patch, Third Party Advisory
References (MISC) https://github.com/codex-team/editor.js/pull/2100 - (MISC) https://github.com/codex-team/editor.js/pull/2100 - Exploit, Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CPE cpe:2.3:a:codex:editor.js:*:*:*:*:*:node.js:*:*
CWE CWE-94 CWE-79

15 Dec 2022, 19:56

Type Values Removed Values Added
New CVE

Information

Published : 2022-12-15 19:15

Updated : 2024-11-21 06:48


NVD link : CVE-2022-23474

Mitre link : CVE-2022-23474

CVE.ORG link : CVE-2022-23474


JSON object : View

Products Affected

codex

  • editor.js
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')