{"id":"GHSA-phph-xpj4-wvcv","aliases":["GHSA-phph-xpj4-wvcv"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in hexo-admin","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T21:13:07.000Z","modified":"2021-09-29T18:51:18.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"hexo-admin","purl":"pkg:npm/hexo-admin","source":"ghsa"}],"references":[{"url":"https://github.com/jaredly/hexo-admin/issues/185","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jaredly/hexo-admin","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1211","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-phph-xpj4-wvcv","url":"https://github.com/advisories/GHSA-phph-xpj4-wvcv","licence":"CC-BY-4.0","modified":"2021-09-29T18:51:18.000Z"}],"updatedAt":"2026-11-25T22:56:46.140Z"}