-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[FALSE-POSITIVE] addeventlistener-detect #11589
Copy link
Copy link
Closed
Labels
DoneReady to mergeReady to mergefalse-positiveNuclei template reporting invalid/unexpected resultNuclei template reporting invalid/unexpected result
Description
Template IDs or paths
- http/miscellaneous/addeventlistener-detect.yamlEnvironment
Steps To Reproduce
- Run nuclei on a website with an addEventlistener function in js
Relevant dumped responses
Anything else?
The template is wrong and misleading per se. The description talks about an xss vulnerability and refers to a portswigger article to emphasise this statement. In addition, this template has a cvss score, although it should be purely informative, as it only makes a simple regex match on addeventlistener.
Furthermore, the link to the portswigger article is misleading, as this special use case is only applicable in case of a mishandled postMessage event.
My suggestion would be to change the description of the template (addEventlistener detection as a template is fine in my opinion as a lot could go wrong here, but it should be purely informative) and to remove the cvss score.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DoneReady to mergeReady to mergefalse-positiveNuclei template reporting invalid/unexpected resultNuclei template reporting invalid/unexpected result