CVE-2026-101930: Macros bound to HTML document events ran without a security check
LibreOffice Writer can open HTML documents, and an HTML document can bind macros to events of the document as a whole, such as the document being opened or closed. Macros bound to these events were not taken into account by the macro security check, so they could run when the document was opened, whatever the macro security level. In fixed versions these macros follow the macro security settings like any other macro in the document.
Affected Software
Event History
Frequently Asked Questions
Does raising the macro security level prevent exploitation?
No. In affected versions, macros bound to HTML document-level events could run when the document was opened regardless of the configured macro security level.
What is the relevant exposure scenario?
The issue applies when LibreOffice Writer opens an HTML document that contains macros bound to document-wide events, such as opening or closing the document.
What changes in fixed versions?
Fixed versions apply the normal macro security settings to these HTML document-event macros, as they do for other macros in the document.