GitHub Advisoryadvisory · npm
GHSA-5726-g6r9-5f22 Potential for Script Injection in syntax-error
HIGH
Official page ↗
- Aliases
- CVE-2014-7192
- Ecosystem
- npm
- Packages
- syntax-error
- Severity
- High
- Weaknesses
- CWE-94
- Reviewed
- 2020-06-16
Affected packages
• npm syntax-error: < 1.1.1 → fixed in 1.1.1
Description
Versions of `syntax-error` prior to 1.1.1 are affected by a cross-site scripting vulnerability which may allow a malicious file to execute code when browserified.
Recommendation
Update to version 1.1.1 or later.
Related
Alias · CVE (1)
- CVE-2014-7192 Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application… vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-7192 advisory
- https://github.com/substack/node-syntax-error/commit/9aa4e66eb90ec595d2dba55e6f9c2dd9a668b309 web
- https://exchange.xforce.ibmcloud.com/vulnerabilities/96728 web
- https://github.com/advisories/GHSA-5726-g6r9-5f22 advisory
- https://github.com/substack/node-browserify/blob/master/changelog.markdown#421 web
- https://github.com/substack/node-syntax-error package
- https://www.npmjs.com/advisories/37 web
- http://www-01.ibm.com/support/docview.wss?uid=swg21690815 web