Skip to content

pym.js CSRF Vulnerability

High severity GitHub Reviewed Published Mar 13, 2018 to the GitHub Advisory Database • Updated Sep 11, 2023

Package

npm pym.js (npm)

Affected versions

>= 0.4.2, <= 1.3.1

Patched versions

1.3.2

Description

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.

References

Published to the GitHub Advisory Database Mar 13, 2018
Reviewed Jun 16, 2020
Last updated Sep 11, 2023

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-1000086

GHSA ID

GHSA-82gw-pqf7-q3j2

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.