---
id: "CVE-2026-87932"
page: "https://infrastack.ai/live/CVE-2026-87932"
kind: "vulnerability"
aliases: ["CVE-2026-87932"]
title: "LibreOffice Writer: crafted document writes files anywhere during DOCX export"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["document-conversion", "libreoffice", "package", "self-hosted"]
not_affected_if: ["no-docx-export", "no-untrusted-documents"]
published_at: "2026-11-16T17:17:36+00:00"
first_seen_at: "2026-11-16T17:37:58+00:00"
updated_at: "2026-11-16T17:38:57+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-87932", "first_seen_at": "2026-11-16T17:37:58+00:00"}]
exploit_sources: []
---

# LibreOffice Writer: crafted document writes files anywhere during DOCX export

Link for people: https://infrastack.ai/live/CVE-2026-87932 (this .md is for agents)

A crafted Writer document with content controls bound to custom XML can make LibreOffice write a file of the attacker's choosing when it is exported to DOCX, including in a command-line conversion. The unescaped values also let the XSLT transformations write files or use the network.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed LibreOffice version with `soffice --version` and compare it to the fixed versions below.
- Look for scripted or batch DOCX conversion (`soffice --headless --convert-to docx`) that processes untrusted documents.

## Timeline

- 2026-11-16T17:37:58+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-87932

## From the sources

LibreOffice Writer can save documents in DOCX format. A document can contain content controls whose values are bound to custom XML data, and that data is updated with the current values when the document is exported, including in a conversion run from the command line. Values taken from the document were not escaped where they were used, so a crafted document could write a file of its choosing anywhere the user can write when it was exported to DOCX. In fixed versions these values are written into the document directly, and the XSLT transformations LibreOffice runs can no longer write files or use the network.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
