jsoneditor@2.2.1 vulnerabilities

A web-based tool to view, edit, format, and validate JSON

Direct Vulnerabilities

Known vulnerabilities in the jsoneditor package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • L
Regular Expression Denial of Service (ReDoS)

jsoneditor is a web-based tool to view, edit, format, and validate JSON.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the getInnerText function.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade jsoneditor to version 9.5.6 or higher.

<9.5.6
  • H
Server-side Request Forgery (SSRF)

jsoneditor is a web-based tool to view, edit, format, and validate JSON.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the server side file retriever script of the web application. This could allow an attacker to read files on the server.

How to fix Server-side Request Forgery (SSRF)?

Upgrade jsoneditor to version 2.2.2 or higher.

<2.2.2
  • H
Cross-site Scripting (XSS)

jsoneditor is a web-based tool to view, edit, format, and validate JSON.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). HTML is being rendered without being sanitised via the tree mode.

How to fix Cross-site Scripting (XSS)?

Upgrade jsoneditor to version 9.0.2 or higher.

<9.0.2