Skip to content

JS: Add src as an unsafe DOM property for js/xss-through-dom. #6549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 8, 2021

Conversation

erik-krogh
Copy link
Contributor

@erik-krogh erik-krogh commented Aug 25, 2021

And propagate field-flow from writes in a super-class to reads in a sub-class.

Gets a TP/TN for CVE-2021-23414.

Evaluation looks OK-ish in terms of performance.
There is a few new results.
The bootstrap result is an FP (failed to recognize sanitizer).
And another result is flow from one src attribute to another src attribute, which is safe.
I'll look at fixing those FPs in a followup PR.

I wasn't sure about the performance from the above evaluation, so I ran another one.
And performance looks fine there.

@erik-krogh erik-krogh added the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Aug 25, 2021
@github-actions github-actions bot added the JS label Aug 25, 2021
@erik-krogh erik-krogh removed the Awaiting evaluation Do not merge yet, this PR is waiting for an evaluation to finish label Aug 31, 2021
@erik-krogh erik-krogh marked this pull request as ready for review August 31, 2021 06:22
@erik-krogh erik-krogh requested a review from a team as a code owner August 31, 2021 06:22
Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

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

👍

@codeql-ci codeql-ci merged commit cd26d97 into github:main Sep 8, 2021
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.

3 participants