{"id":"GHSA-r32x-jhw5-g48p","aliases":[],"status":"published","title":"Cross-Site Scripting in eco","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-03T17:08:20Z","modified":"2023-01-09T05:04:08Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"eco","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"eco","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://github.com/sstephenson/eco/pull/67","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1024","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r32x-jhw5-g48p"},{"url":"https://github.com/sstephenson/eco","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-r32x-jhw5-g48p","title":"Cross-Site Scripting in eco","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T17:08:20Z","modified":"2023-01-09T05:04:08Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:08.863482Z"}],"osv":[{"id":"GHSA-r32x-jhw5-g48p","title":"Cross-Site Scripting in eco","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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","status":"published","published":"2020-09-03T17:08:20Z","modified":"2021-09-28T21:17:47Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:55.122811Z"}]}}
