CVE-2026-101352: Macros run from a document's own shortcuts, menus and toolbars

Published Nov 16, 2026
·
Updated

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.

Affected Software

1 affected component
The Document Foundation LibreOffice

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

What user interaction is required for exploitation?

The user must open a crafted document and then activate a document-provided interface element, such as pressing its custom keyboard shortcut or selecting an item from its custom menu or toolbar. Opening the document alone is not described as sufficient.

2

Are users protected by macro security settings?

In affected versions, no: commands in document-supplied shortcuts, menus, or toolbars could run a macro or script even when the document's macros were not allowed by macro security settings. Fixed versions retain macro and script commands in those customizations only when the document's macros are allowed.

3

Who is exposed?

Users who open untrusted crafted documents are exposed if they interact with user-interface customizations supplied by the document. The relevant interactions include custom shortcuts, menus, and toolbars.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203