{"id":"GHSA-phph-xpj4-wvcv","summary":"Cross-Site Scripting in hexo-admin","details":"All versions of `hexo-admin` are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize rendered markdown, allowing attackers to execute arbitrary JavaScript in a victim's browser if they are able to create new posts.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","modified":"2021-09-29T18:51:18Z","published":"2020-09-03T21:13:07Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:51:09Z"},"references":[{"type":"WEB","url":"https://github.com/jaredly/hexo-admin/issues/185"},{"type":"PACKAGE","url":"https://github.com/jaredly/hexo-admin"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1211"}],"affected":[{"package":{"name":"hexo-admin","ecosystem":"npm","purl":"pkg:npm/hexo-admin"},"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-phph-xpj4-wvcv/GHSA-phph-xpj4-wvcv.json"}}],"schema_version":"1.9.0"}