GHSA-qp2q-6h9j-jg2r

Suggest an improvement
Source
https://github.com/advisories/GHSA-qp2q-6h9j-jg2r
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-qp2q-6h9j-jg2r/GHSA-qp2q-6h9j-jg2r.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qp2q-6h9j-jg2r
Aliases
Published
2022-05-05T00:00:15Z
Modified
2023-11-01T04:58:49.029700Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in jquery.json-viewer
Details

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.

Database specific
{
    "github_reviewed_at": "2022-05-23T21:18:25Z",
    "nvd_published_at": "2022-05-04T18:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / jquery.json-viewer

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.0