Skip to content

Classify CodeQL DOM XSS alert as false positive - #544

Closed
liuliu-dev with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-code-scanning-alerts-2
Closed

Classify CodeQL DOM XSS alert as false positive#544
liuliu-dev with Copilot wants to merge 1 commit into
mainfrom
copilot/fix-code-scanning-alerts-2

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

CodeQL alert #2 flagged src/stories/Graph.tsx for DOM text reinterpreted as HTML.

  • Assessment
    • No code change is proposed.
    • React escapes the repoUrl string rendered as the anchor child; no HTML-interpreting sink is used.
    • The anchor target remains rooted at https://github.com/.
<a href={repoUrl}>{repoUrl}</a>

Copilot AI changed the title [WIP] Fix code scanning alert #2 Classify CodeQL DOM XSS alert as false positive Aug 26, 2026
Copilot AI requested a review from liuliu-dev August 26, 2026 05:06
@liuliu-dev liuliu-dev closed this Aug 26, 2026
@liuliu-dev
liuliu-dev deleted the copilot/fix-code-scanning-alerts-2 branch August 26, 2026 05: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.

2 participants