CVE-2022-3140

Macro URL arbitrary script execution

MEDIUM
6.3
CVSS Score
Published: October 11, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 04:58 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraLibreoffice

Using LibreOffice by The Document Foundation?

Get instant alerts when new vulnerabilities affect LibreOffice - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.3
Exploit prediction
EPSS 7%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

7.3.0 ≤ v < 7.3.67.4.0
Affected range stops below 7.3.6, so it looks safe — our inference, not a vendor statement
7.3 ≤ v < 7.3.67.4 ≤ v < 7.4.17.37.4
Affected range stops below 7.3.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.4.1, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20CWE-88

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card