NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

Cross-site Scripting in jquery.json-viewerGHSA-qp2q-6h9j-jg2r

MEDIUMFix: abodelot/jquery.json-viewer#26

GHSA-qp2q-6h9j-jg2r is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in jquery.json-viewer. A fix is available for jquery.json-viewer — see the affected versions and patch details below.

Also known asCVE-2022-30241
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 9, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs54th percentile — riskier than 54% of all scored CVEsHighest risk
0.00%0.41%0.81%1.22%0.4%0.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

11other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
jquery.json-viewernpm
11Kdownloads / week

Description

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

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmjquery.json-viewerall versions1.5.0npm install jquery.json-viewer@1.5.0

Affected Products

1 product · 1 configurations
Application
jquery json-viewerjquery_json-viewer_project
≤ 1.4.0
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for jquery.json-viewer, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update jquery.json-viewer to 1.5.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qp2q-6h9j-jg2r is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

The jquery.json-viewer library before version 1.5.0 for Node.js does not properly escape characters such as < in a JSON object, as demonstrated by a SCRIPT element.
O3 Security · Impact-Aware SCA

Is GHSA-qp2q-6h9j-jg2r in your dependencies?

Find it across npm, including transitive dependencies.

Cross-site Scripting in jquery.json-viewer (Medium 6.1)