Vulnerabilities / CVE-2017-7788

critical

CVE-2017-7788

Mozilla: Sandboxed about:srcdoc frames do not inherit CSP directives (MFSA 2017-18)

Published Modified CWE 74
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium), Red Hat (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
ubuntu 14.04firefox55.0.1+build2-0ubuntu0.14.04.2
ubuntu 16.04firefox55.0.1+build2-0ubuntu0.16.04.2
ubuntu 17.04firefox55.0.1+build2-0ubuntu0.17.04.2
ubuntu 17.10firefox55.0.2+build1-0ubuntu4
ubuntu 18.04firefox55.0.2+build1-0ubuntu4
ubuntu 18.10firefox55.0.2+build1-0ubuntu4
ubuntu 19.04firefox55.0.2+build1-0ubuntu4
ubuntu 19.10firefox55.0.2+build1-0ubuntu4
ubuntu 20.04firefox55.0.2+build1-0ubuntu4
ubuntu 20.10firefox55.0.2+build1-0ubuntu4
ubuntu 21.04firefox55.0.2+build1-0ubuntu4
ubuntu 21.10firefox55.0.2+build1-0ubuntu4
Show all 17 entries from 17 sources
SourcePackageFixed in
ubuntu 14.04firefox55.0.1+build2-0ubuntu0.14.04.2
ubuntu 16.04firefox55.0.1+build2-0ubuntu0.16.04.2
ubuntu 17.04firefox55.0.1+build2-0ubuntu0.17.04.2
ubuntu 17.10firefox55.0.2+build1-0ubuntu4
ubuntu 18.04firefox55.0.2+build1-0ubuntu4
ubuntu 18.10firefox55.0.2+build1-0ubuntu4
ubuntu 19.04firefox55.0.2+build1-0ubuntu4
ubuntu 19.10firefox55.0.2+build1-0ubuntu4
ubuntu 20.04firefox55.0.2+build1-0ubuntu4
ubuntu 20.10firefox55.0.2+build1-0ubuntu4
ubuntu 21.04firefox55.0.2+build1-0ubuntu4
ubuntu 21.10firefox55.0.2+build1-0ubuntu4
ubuntu 22.04firefox55.0.2+build1-0ubuntu4
ubuntu 22.10firefox55.0.2+build1-0ubuntu4
ubuntu 23.04firefox55.0.2+build1-0ubuntu4
ubuntu 23.10firefox55.0.2+build1-0ubuntu4
ubuntu 24.04firefox55.0.2+build1-0ubuntu4

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.