CVE-2026-87932 · Package
NO FIX YET
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.
first public Nov 16, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Any system that opens untrusted Writer documents and exports them to DOCX, especially headless or batch conversion jobs on servers. Desktop users who only edit their own documents are less exposed. The sources do not name the fixed versions.
Not affected if no-docx-export, no-untrusted-documents
Who cares document-conversion, libreoffice, self-hosted
soffice --version and compare it to the fixed versions below.soffice --headless --convert-to docx) that processes untrusted documents.Unknown 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.
This page as .md · .json · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.