cve/2020/CVE-2020-7741.md

18 lines
766 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2020-7741](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7741)
![](https://img.shields.io/static/v1?label=Product&message=hellojs&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%201.18.6%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
This affects the package hellojs before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/Live-Hack-CVE/CVE-2020-26938