CVE-2022-23474

editor.js contains Code Injection

Published Dec 15, 2022 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2515 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.
Github GHSA Github GHSA GHSA-6mvj-2569-3mcm Editor.js vulnerable to Code Injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 17, 2025, 6:14 PM
Reserved
Jan 19, 2022, 9:23 PM
Status
Modified
Published
Dec 15, 2022, 7:15 PM
Modified
Jun 17, 2026, 4:30 AM