GitHub Advisoryadvisory · npm
GHSA-r32x-jhw5-g48p Cross-Site Scripting in eco
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- eco
- Severity
- High
- Weaknesses
- CWE-79
- Reviewed
- 2020-08-31
Affected packages
• npm eco: >= 0.0.0 (no fix yet)
Description
All versions of `eco` are vulnerable to Cross-Site Scripting (XSS). The package's default `__escape` implementation fails to escape single quotes, which may allow attackers to execute arbitrary JavaScript on the victim's browser.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness