Description
When a JavaScript URL (javascript:) is evaluated and the result is a string, this string is parsed to create an HTML document, which is then presented. Previously, this document's URL (as reported by the document.location property, for example) was the originating javascript: URL which could lead to spoofing attacks; it is now correctly the URL of the originating document. This vulnerability affects Firefox < 74.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | >= unspecified, < 74 |
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1247968Issue Tracking, Permissions Required
- https://www.mozilla.org/security/advisories/mfsa2020-08/Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1247968Issue Tracking, Permissions Required
- https://www.mozilla.org/security/advisories/mfsa2020-08/Vendor Advisory
Timeline
- Published
- Mar 25, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified