Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Race Condition resulting in false positives / false negatives #10

Open
forced-request opened this issue Sep 16, 2014 · 1 comment
Open
Labels

Comments

@forced-request
Copy link
Contributor

For some reason, certain payloads, such as <img src='1' onerror='{JAVASCRIPT}' are generating race conditions in which legitimate XSS payload execution is not being marked as executed, and payloads that don't execute are being marked as validated.

For the time being throttling the requests seems to decrease the likelihood of running into this behavior, but I'm still looking into the real cause.

@forced-request
Copy link
Contributor Author

Looks like the problem is that the document finishes being evaluated in these cases before the onAlert (and other) event handlers are processed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant