CVE-2017-7834

MEDIUM

Firefox < 57 - Cross-Site Scripting via Data URL CSP Bypass

Title source: llm
STIX 2.1

Description

A "data:" URL loaded in a new tab did not inherit the Content Security Policy (CSP) of the original page, allowing for bypasses of the policy including the execution of JavaScript. In prior versions when "data:" documents also inherited the context of the original page this would allow for potential cross-site scripting (XSS) attacks. This vulnerability affects Firefox < 57.

References (4)

Core 4
Core References
Issue Tracking, Permissions Required x_refsource_confirm
https://bugzilla.mozilla.org/show_bug.cgi?id=1358009
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2017-24/
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/101832
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039803

Scores

CVSS v3 6.1
EPSS 0.0098
EPSS Percentile 77.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (1)
mozilla/firefox < 56.0.2
Published Jun 11, 2018
Tracked Since Feb 18, 2026