Files
CVEs-PoC/2018/CVE-2018-5143.md
T
2024-06-18 02:51:15 +02:00

18 lines
954 B
Markdown

### [CVE-2018-5143](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5143)
![](https://img.shields.io/static/v1?label=Product&message=Firefox&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%2059%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Self-XSS%20pasting%20javascript%3A%20URL%20with%20embedded%20tab%20into%20addressbar&color=brighgreen)
### Description
URLs using "javascript:" have the protocol removed when pasted into the addressbar to protect users from cross-site scripting (XSS) attacks, but if a tab character is embedded in the "javascript:" URL the protocol is not removed and the script will execute. This could allow users to be socially engineered to run an XSS attack against themselves. This vulnerability affects Firefox < 59.
### POC
#### Reference
- https://bugzilla.mozilla.org/show_bug.cgi?id=1422643
#### Github
No PoCs found on GitHub currently.