CVE-2025-1080

Title: Macro URL arbitrary script execution

Announced: March 4, 2025

Fixed in: LibreOffice 24.8.5 and 25.2.1

Description:

LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added.

In the affected versions of LibreOffice a link in a browser using that scheme could be constructed with an embedded inner URL that when passed to LibreOffice could call internal macros with arbitrary arguments.

In the fixed versions this circumvention has been blocked. All users are recommended to upgrade to LibreOffice >= 24.8.5 or 25.2.1

Credits:

  • Thanks to Amel Bouziane-Leblond for finding and reporting this issue.
  • Thanks to Caolán McNamara of Collabora Productivity for providing a fix.

References:

    CVE-2025-1080