Arbitrary Code Injection Affecting @editorjs/editorjs package, versions <2.26.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EDITORJSEDITORJS-3173596
  • published16 Dec 2022
  • disclosed16 Dec 2022
  • creditStephan Brandauer, Erik Krogh Kristensen

Introduced: 16 Dec 2022

CVE-2022-23474  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade @editorjs/editorjs to version 2.26.0 or higher.

Overview

@editorjs/editorjs is an Editor.js — Native JS, based on API and Open Source

Affected versions of this package are vulnerable to Arbitrary Code Injection via pasted input. The processHTML method passes pasted input into wrapper’s innerHTML.

CVSS Scores

version 3.1