Skip to content
OpenAdvisories
High GHSA-r32x-jhw5-g48p

Cross-Site Scripting in eco

Published Sep 3, 2020 · Updated Sep 28, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm eco >= 0.0.0 — GHSA-r32x-jhw5-g48p

References