GitHub 安全公告库 (GHSA)·· 2 天前AI 评分50
sanitize-html 2.17.7 的 SMIL 防护可被命名空间前缀绕过,PoC 可注入 javascript: URI
ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript: URI injection (XSS)
AI 导读
sanitize-html 2.17.7 引入的 animatesUrlAttribute() 在检查 SMIL 动画元素时只比对裸标签名,使用 svg:animate 等命名空间前缀即可绕过,使 animate 的 attributeName 指向 href 并注入 javascript: URI。
来源:GitHub 安全公告库 (GHSA) · github.com