CVE-2022-3140
Macro URL arbitrary script execution
- Published
- Updated
- Reserved
- Assigned by
- Document Fdn.
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
- EPSS (exploitation in 30 days)
- 7.0% · top 5.8% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Weakness
Affected products
The Document Foundation · LibreOffice
- affected 7.4 – < 7.4.1
- affected 7.3 – < 7.3.6
References (5)
- https://www.libreoffice.org/about-us/security/advisories/CVE-2022-3140 (opens in a new tab)x_transferred
- DSA-5252 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-775c747e4a (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202212-04 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230326 [SECURITY] [DLA 3368-1] libreoffice security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-3140)Record last updated .