Skip to content

4.1-nightly-2026-05-16

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 May 03:01
· 224 commits to main since this release
fix: escape gravatarUrl in client-side comment rendering

Escape commentData.gravatarUrl with escapeHtml() before interpolating it
into the comment img src attribute, matching how the username is already
handled. The URL is server-generated so this is hardening for
consistency rather than a fix for an exploitable issue.

Document why insertAdjacentHTML is safe here (escaped username/URL,
server-sanitized comment body) and annotate the line for the scanner.