GITBOOK-3993: change request with no subject merged in GitBook

This commit is contained in:
CPol 2023-06-26 10:50:26 +00:00 committed by gitbook-bot
parent 1b10ed65e2
commit 5626c2fdf6
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
1 changed files with 6 additions and 0 deletions

View File

@ -437,6 +437,12 @@ run();
</script>
```
### Via Bookmarklets
This attack would imply some social engineering where the attacker **convinces the user to drag and drop a link over the bookmarklet of the browser**. This bookmarklet would contain **malicious javascript** code that when drag\&dropped or clicked would be executed in the context of the current web window, **bypassing CSP and allowing to steal sensitive information** such as cookies or tokens.
For more information [**check the original report here**](https://socradar.io/csp-bypass-unveiled-the-hidden-threat-of-bookmarklets/).
### [CVE-2020-6519](https://www.perimeterx.com/tech-blog/2020/csp-bypass-vuln-disclosure/)
```javascript