mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-29 19:34:29 +01:00
make-pdf drops NUL characters before its sanitizer runs, and the sanitizer now repeats until its output stops changing, so neither a NUL nor a removed attribute can turn a Markdown file's raw HTML into a live handler, `javascript:` link or `` tag. Removing a handler or a `javascript:` link also keeps the rest of the page. This follows #4761 and is stacked on it until it lands. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/specialist-batched#1 reader=security Review-Finding: p1/red-team#2 reader=red-team Review-Finding: p2/red-team#1 reader=red-team Review-Finding: p1/red-team#1 reader=red-team