跳到正文
GitHub 安全公告库 (GHSA)·· 1 天前AI 评分22

ApostropheCMS 的 sanitize-html 2.18.0 重新净化被丢弃 iframe 回退内容时存在无界递归(栈溢出,nestingLimit 未生效)

ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow, nestingLimit not enforced)

AI 导读

sanitize-html 2.18.0 在默认配置下重新净化被丢弃 iframe 的原始文本时进行无界递归调用,几千字节的未闭合 iframe 标签即可触发 RangeError: Maximum call stack size exceeded。

来源:GitHub 安全公告库 (GHSA) · github.com