CVE-2026-87932
LibreOffice Writer can save documents in DOCX format. A document can contain content controls...
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data or systems being changed.
Affected products · The Document Foundation
| Product | Affected versions |
|---|---|
| LibreOffice | from 26.2 before < 26.2.7 from 26.8 before < 26.8.1 Versions 26.8 << 26.8.1, 26.2 << 26.2.7 |