GHSA-v9wp-8r97-v6xg
Cross-Site Scripting in jquery.json-viewer
GHSA-v9wp-8r97-v6xg is a vulnerability with no CVSS score yet in jquery.json-viewer, published September 3, 2020. No source lists public exploit code. Fixed in jquery.json-viewer 1.3.0.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.3.0jquery.json-viewer
Description
Versions of jquery.json-viewer prior to 1.3.0 are vulnerable to Cross-Site Scripting (XSS). The package insufficiently sanitizes user input when creating links, and concatenates the user input in an <a> tag. This allows attackers to create malicious links with JSON payloads such as:
{
"foo": "https://bar.com\" onmouseover=alert('xss') \""
}
This may lead to arbitrary JavaScript execution in a victim's browser.
Recommendation
Upgrade to version 1.3.0 or later.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
jquery.json-viewernpm | before 1.3.0 | 1.3.0 |
What each source reports
GitHub AdvisoriesNo score
Cross-Site Scripting in jquery.json-viewer
Versions of jquery.json-viewer prior to 1.3.0 are vulnerable to Cross-Site Scripting (XSS). The package insufficiently sanitizes user input when creating links, and concatenates the user input in an <a> tag. This allows attackers to create malicious links with JSON payloads such as:
{
"foo": "https://bar.com\" onmouseover=alert('xss') \""
}
This may lead to arbitrary JavaScript execution in a victim's browser.
Recommendation
Upgrade to version 1.3.0 or later.
- Record
GHSA-v9wp-8r97-v6xg- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVNo score
Cross-Site Scripting in jquery.json-viewer
Versions of jquery.json-viewer prior to 1.3.0 are vulnerable to Cross-Site Scripting (XSS). The package insufficiently sanitizes user input when creating links, and concatenates the user input in an <a> tag. This allows attackers to create malicious links with JSON payloads such as:
{
"foo": "https://bar.com\" onmouseover=alert('xss') \""
}
This may lead to arbitrary JavaScript execution in a victim's browser.
Recommendation
Upgrade to version 1.3.0 or later.
- Record
GHSA-v9wp-8r97-v6xg- Weakness
- CWE-79
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.