{"id":"GHSA-r32x-jhw5-g48p","summary":"Cross-Site Scripting in eco","details":"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.","modified":"2021-09-28T21:17:47Z","published":"2020-09-03T17:08:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:44:34Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/sstephenson/eco/pull/67"},{"type":"PACKAGE","url":"https://github.com/sstephenson/eco"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1024"}],"affected":[{"package":{"name":"eco","ecosystem":"npm","purl":"pkg:npm/eco"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-r32x-jhw5-g48p/GHSA-r32x-jhw5-g48p.json"}}],"schema_version":"1.9.0"}