{"id":"GHSA-v9wp-8r97-v6xg","aliases":[],"url":"https://o3.security/vulnerability/GHSA-v9wp-8r97-v6xg","summary":"Cross-Site Scripting in jquery.json-viewer","details":"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: \n```\n{\n  \"foo\": \"https://bar.com\\\" onmouseover=alert('xss') \\\"\"\n}\n```\n\nThis may lead to arbitrary JavaScript execution in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.3.0 or later.","published":"2020-09-03T17:17:00Z","modified":"2020-08-31T18:44:56Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"jquery.json-viewer","fixedVersion":"1.3.0"}],"fix":null,"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/1036"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2020-08-31T18:44:56Z"}}