Back to CVE catalog
CVE-2017-7839

JavaScript execution after pasting in addressbar

Mozilla Firefox

At a glance

Control characters prepended before "javascript:" URLs pasted in the addressbar can cause the leading characters to be ignored and the pasted JavaScript to be executed instead of being blocked. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks where users are convinced to copy and paste text into the addressbar. This vulnerability affects Firefox < 57.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS summary v3.0

6.1Medium
Published:
Updated:
EPSS:
1.099%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:MozillaFirefoxAffected versions:
≥ unspecified, < 57

1–1 of 1 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary6.1 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Changed

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences