cve/2017/CVE-2017-7788.md

18 lines
840 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-7788](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7788)
![](https://img.shields.io/static/v1?label=Product&message=Firefox&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%2055%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Sandboxed%20about%3Asrcdoc%20iframes%20do%20not%20inherit%20CSP%20directives&color=brighgreen)
### Description
When an "iframe" has a "sandbox" attribute and its content is specified using "srcdoc", that content does not inherit the containing page's Content Security Policy (CSP) as it should unless the sandbox attribute included "allow-same-origin". This vulnerability affects Firefox < 55.
### POC
#### Reference
- https://bugzilla.mozilla.org/show_bug.cgi?id=1073952
#### Github
No PoCs found on GitHub currently.