jquery.json-viewer@1.1.0 vulnerabilities

jQuery plugin for displaying JSON data

Direct Vulnerabilities

Known vulnerabilities in the jquery.json-viewer 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
  • M
Cross-site Scripting (XSS)

jquery.json-viewer is a jQuery plugin for easily displaying JSON objects by transforming them into HTML.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) which does not properly escape characters such as < in a JSON object.

How to fix Cross-site Scripting (XSS)?

Upgrade jquery.json-viewer to version 1.5.0 or higher.

<1.5.0
  • M
Cross-site Scripting (XSS)

jquery.json-viewer is a jQuery plugin for easily displaying JSON objects by transforming them into HTML.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It insufficiently sanitised user input when creating links, and concatenated the user input in an <a> tag which might lead to arbitrary JavaScript execution in a victim's browser.

How to fix Cross-site Scripting (XSS)?

Upgrade jquery.json-viewer to version 1.3.0 or higher.

<1.3.0