OSV 1.4.0 · github-reviewed · 修改于 2020-09-01 02:44
发布时间
2020-09-04 01:17
GitHub 审查时间
2020-09-01 02:44
NVD 发布时间
—
源文件
advisories/github-reviewed/2020/09/GHSA-v9wp-8r97-v6xg/GHSA-v9wp-8r97-v6xg.json
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.
Upgrade to version 1.3.0 or later.