Visitar URL original
JS: Fix handling of .hash in XSS query by asgerf · Pull Request #3829 · github/codeql · GitHub
The Wayback Machine - https://web.archive.org/web/20260531165315/https://github.com/github/codeql/pull/3829
Skip to content

JS: Fix handling of .hash in XSS query#3829

Merged
semmle-qlci merged 3 commits into
github:masterfrom
asger-semmle:js/xss-substr
Jul 2, 2020
Merged

JS: Fix handling of .hash in XSS query#3829
semmle-qlci merged 3 commits into
github:masterfrom
asger-semmle:js/xss-substr

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented Jun 28, 2020

Fixes #3828 by adding a store step x -> x.hash into the URL suffix pseudo-property, and adds a few other ways to extract the suffix after the #.

@asgerf asgerf added JS Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish labels Jun 28, 2020
@asgerf asgerf requested a review from erik-krogh June 28, 2020 18:32
@asgerf asgerf requested a review from a team as a code owner June 28, 2020 18:32
Copy link
Copy Markdown
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Now we just wait for the evaluation.

@asgerf
Copy link
Copy Markdown
Contributor Author

asgerf commented Jun 29, 2020

Smoke test was uneventful, but I'll run a few more mainly to check for FPs.

@asgerf
Copy link
Copy Markdown
Contributor Author

asgerf commented Jul 2, 2020

Xss/nightly looks boring.

@asgerf asgerf removed the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Jul 2, 2020
@semmle-qlci semmle-qlci merged commit 97128b1 into github:master Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[js/xss] JavaScript: Rule misses nearly all location.hash vectors

3 participants