CVE-2017-7840
JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks.
Published 8 y ago · modified 4 mo ago · JSON
Summary
JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file. This vulnerability affects Firefox < 57.
Exploit prediction (EPSS)
1.12% probability of exploitation in the next 30 days, higher than 66% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- Mozilla Firefox
Classification
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- bugzilla.mozilla.org /show_bug.cgi?id=1366420 · x_refsource_CONFIRM, x_transferred
- mozilla.org /security/advisories/mfsa2017-24/ · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/101832 · vdb-entry, x_refsource_BID, x_transferred
- securitytracker.com /id/1039803 · vdb-entry, x_refsource_SECTRACK, x_transferred
Sources
- CVE List: CVE-2017-7840
- NVD: CVE-2017-7840
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.