允许上传 SVG 的应用存在存储型 XSS 入口,已有现成库可接入。
工具xss供应链
svg-sanitizer — PHP library that sanitizes untrusted SVG/XML by filtering tags, attributes, and remote references to prevent XSS and script injection in uploaded or inlined SVG files. https://t.co/h4dKsULtCR https://t.co/KvFxrRHJYr