LibreOffice code execution via document UI customizations
The Document Foundation LibreOffice
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice |
| No fix yet |
Original description
A document can carry its own user interface customizations, such as keyboard shortcuts, menus and toolbars, which take effect while the document is open. A command bound in these customizations could run a macro or a script even when the macro security settings did not allow the macros of the document, so a user who pressed a shortcut or chose a menu item in a crafted document could run code without any warning. In fixed versions the customizations of a document are treated like its other macro content, and the macro and script commands in them are only kept when the macros of the document are allowed.
From the CVE record · Document Fdn.