CVE-2022-3140Macro URL arbitrary script execution
- 6.3MediumCVSS base score
- 7.0%Exploitation in 30 daysEPSS · top 5.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Document Fdn.
- 35 days later
· 35 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.3.
Affected products
The Document Foundation · LibreOffice
- affected 7.4 – < 7.4.1
- affected 7.3 – < 7.3.6
References
References5
- 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)
- EUVD EUVD-2022-42567 (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://cveledger.app/cve/CVE-2022-3140)Record last updated .