Details
Impact Scale:
- Affects all downstream users of compromised packages
- Can target specific frameworks (React, Vue, etc.) used by thousands of applications
- Enables XSS in browsers, RCE in Electron applications
- Difficult to detect as traffic appears legitimate
Patch
- Path validation is required when unpacking a tar file.
X-Npmrcwhitelist logic is required.