Commit Graph
2 Commits
Author SHA1 Message Date
Eric Gu 406e87a0a4 Fix stored XSS in HTML report via unescaped Location: header (#3090)
Backport of the 3.3dev fix to the 3.2 branch.

pr_url() and pr_boldurl() interpolated their argument directly into
<a href="$1">$1</a> without HTML escaping. The most notable caller
passes the raw HTTP Location: header from the scanned server, so a
malicious HTTPS target could inject arbitrary HTML/JS into an
operator's --htmlfile report. Route both the href attribute and the
link text through the existing html_reserved() escaper, matching the
pattern already used by every other pr_* HTML-output function.
2026-07-11 23:22:42 -04:00
Eric Gu (@ericguuu)andGitHub 7f6adec5e4 fix: inverted return check in sym-encrypt() at testssl.sh:14741 2026-07-08 21:28:45 -04:00