GHSA-82gw-pqf7-q3j2

Suggest an improvement
Source
https://github.com/advisories/GHSA-82gw-pqf7-q3j2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/03/GHSA-82gw-pqf7-q3j2/GHSA-82gw-pqf7-q3j2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-82gw-pqf7-q3j2
Aliases
Published
2018-03-13T20:38:51Z
Modified
2023-11-08T03:59:34.344304Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
pym.js CSRF Vulnerability
Details

NPR Visuals Team Pym.js version versions 0.4.2 up to 1.3.1 contains a Cross Site Request Forgery (CSRF) vulnerability in Pym.js _onNavigateToMessage function.

https://github.com/nprapps/pym.js/blob/master/src/pym.js#L573 can result in Arbitrary javascript code execution. This attack appears to be exploitable if the Attacker gains full javascript access to pages with Pym.js embeds, or when user visits an attacker-crafted page. This vulnerability appears to have been fixed in versions 1.3.2 and later.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:23:59Z",
    "github_reviewed": true,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

npm / pym.js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.2
Fixed
1.3.2

Database specific

{
    "last_known_affected_version_range": "<= 1.3.1"
}