Skip to content

docs(codeql): track 9 residual js/xss-through-dom alerts in suppressions.md - #63

Merged
natechadwick-intsof merged 1 commit into
mainfrom
docs/codeql-suppression-tracking
Aug 18, 2026
Merged

docs(codeql): track 9 residual js/xss-through-dom alerts in suppressions.md#63
natechadwick-intsof merged 1 commit into
mainfrom
docs/codeql-suppression-tracking

Conversation

@natechadwick-intsof

Copy link
Copy Markdown
Collaborator

Summary

After PR #62 merged, a new CodeQL scan surfaced 9 js/xss-through-dom
alerts in delivery/common/js/views/. All 9 sites already have
// codeql[js/xss-through-dom] sink-line markers in the source from
PR #60 and PR #62 (the markers reference the in-repo percSafeUrl() /
encodeURIComponent runtime defenses that GHAS does not model as a
sanitizer barrier).

This is a documentation-only pass to assign the proper disposition
(false-positive) to each row in suppressions.md so the next
GHAS re-scan can dismiss them cleanly.

Disposition

Each of the 9 alerts already has a sink-line // codeql[js/xss-through-dom]
marker on the line above the sink. The marker references the runtime
defense (in-repo percSafeUrl() helper that blocks
javascript:/``vbscript:/``data: schemes, plus encodeURIComponent
on the filter value). All 9 will dismiss on the next CodeQL scan.

Alert File:line Source Comment line
#709 PercArchiveListView.js:137 PR #60 136
#710 PercArchiveListView.js:197 PR #60 196
#711 PercArchiveListView.js:285 PR #60 284
#712 PercCategoryListView.js:198 PR #60 197
#713 PercRegistrationView.js:82 PR #60 81
#714 PercRegistrationView.js:270 PR #60 269
#716 PercBlogPostView.js:152 PR #62 151
#717 PercBlogPostView.js:162 PR #62 161
#718 PercTagListView.js:123 PR #62 122

Validation

  • python3 scripts/verify-suppressions.py — PASS
  • python3 scripts/verify-triage-inventory.py — PASS (9 of 9)
  • python3 scripts/verify-valid-fixes.py — PASS
  • node --check on every affected delivery view — syntax OK

JDK 1.8.0 compatible. No CHANGELOG.md entry per AGENTS.md.

…ons.md

After PR #62 merged, a new CodeQL scan surfaced 9 js/xss-through-dom
alerts in delivery/common/js/views/. All 9 sites already have
// codeql[js/xss-through-dom] sink-line markers in the source from
PR #60 and PR #62 (the markers reference the in-repo percSafeUrl() /
encodeURIComponent runtime defenses that GHAS does not model as a
sanitizer barrier).

suppressions.md gets one row per alert so verify-suppressions.py
recognizes the eventual dismissal. clusters.md row updated to note
the 9 alerts are sink-line suppressed and awaiting the next scan.

No source changes; this is a documentation-only pass to assign the
proper disposition (false-positive) to each row before the next
GHAS re-scan dismisses them.

Verification:
  - python3 scripts/verify-suppressions.py            PASS
  - python3 scripts/verify-triage-inventory.py        PASS (9 of 9)
  - python3 scripts/verify-valid-fixes.py             PASS
  - node --check on every affected delivery view       syntax OK

JDK 1.8.0 compatible. No CHANGELOG.md entry per AGENTS.md.
@natechadwick-intsof
natechadwick-intsof merged commit 5740744 into main Aug 18, 2026
2 checks passed
@natechadwick-intsof
natechadwick-intsof deleted the docs/codeql-suppression-tracking branch August 18, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant