Arbitrary file write during DOCX export

State
Published
Severity
6.8 Medium
Published
Nov 16, 2026
Updated
Nov 17, 2026
Reserved
Sep 9, 2026

Read the record on cve.org

Description

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.

ProductVersions
LibreOffice The Document Foundation26.2 to before < 26.2.7 Affected26.8 to before < 26.8.1 Affected

Weaknesses

  • CWE-91 XML Injection (aka Blind XPath Injection)
  • CWE-73 External Control of File Name or Path

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.