Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jquery.json-viewer
  4. ›
  5. CVE-2022-30241

CVE-2022-30241: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 5, 2022 (updated May 23, 2022)

The jquery.json-viewer library through 1.4.0 for Node.js does not properly escape characters such as < in a JSON object, as demonstrated by a SCRIPT element.

References

  • github.com/abodelot/jquery.json-viewer/pull/26
  • github.com/abodelot/jquery.json-viewer/releases/tag/v1.5.0
  • github.com/advisories/GHSA-qp2q-6h9j-jg2r
  • nvd.nist.gov/vuln/detail/CVE-2022-30241
  • www.npmjs.com/package/jquery.json-viewer

Code Behaviors & Features

Detect and mitigate CVE-2022-30241 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.0

Fixed versions

  • 1.5.0

Solution

Upgrade to version 1.5.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/jquery.json-viewer/CVE-2022-30241.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.