GHSA-r32x-jhw5-g48p
HIGHCross-Site Scripting in eco
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.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | eco | >= 0.0.0 |
References
- https://github.com/sstephenson/eco/pull/67 · WEB
- https://github.com/sstephenson/eco · PACKAGE
- https://www.npmjs.com/advisories/1024 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)