~ / search / GHSA-6mvj-2569-3mcm

GHSA-6mvj-2569-3mcm

Editor.js vulnerable to Code Injection

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-23474

Packages

EcosystemPackageAffectedFixed in
npm @editorjs/editorjs < 2.26.0 2.26.0

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.