CVE-2022-3140 - CVE House
Back to Database
Status published Medium CVE-2022-3140

Macro URL arbitrary script execution

Vulnerability 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 links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-3140

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • TheSecurityDev working with Trend Micro Zero Day Initiative

Affected Vendor

The Document Foundation

View all reports →

Affected Software

LibreOffice
Vulnerable Versions:
7.4, 7.3

Timeline

Official Publish: October 11th, 2022
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Weaknesses (CWE)