fix: resolve the open CodeQL alerts (#156)

Strip HTML tags and XML comments until the text no longer changes, so that
nested input cannot reassemble a tag or comment after a single pass
(js/incomplete-multi-character-sanitization in website/.eleventy.js and
website/scripts/validate-version-info.js).

Limit the GITHUB_TOKEN of the PR compile check and the test version-XML
workflow to read access (actions/missing-workflow-permissions).

Claude-Session: https://claude.ai/code/session_01FJBfPYm6rCH4zD6T7bcC7Y
This commit is contained in:
Rsclub2_2 authored and GitHub committed 2026-10-26 10:13:10 +01:00
1 parent f165f7d303
commit 8fc3b9f424
4 files changed
+43 -6

No files matched your search

@@ -3,6 +3,10 @@ name: TEST publish-version-xml (local only)
on:
workflow_dispatch:
permissions:
contents: read
issues: read
jobs:
publish-version-xml:
name: Publish Version Info XML via WebDAV