{"id":"CVE-2022-3140","published":"2022-10-11T00:00:00Z","modified":"2024-08-03T01:00:10Z","title":"Macro URL arbitrary script execution","vendor":"The Document Foundation","product":"LibreOffice","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.06962,"percentile":0.9427,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/CVE-2022-3140","tags":[]},{"url":"https://www.debian.org/security/2022/dsa-5252","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TORANVTIWWBH3DNJR4UZATAG67KZOH32/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202212-04","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/03/msg00022.html","tags":["mailing-list"]}],"priority":{"score":18.9,"factors":[{"name":"EPSS percentile","points":18.85}]},"vendorSlug":"the-document-foundation","affectedVersions":[{"vendor":"The Document Foundation","product":"LibreOffice","versions":[">= 7.4, < 7.4.1",">= 7.3, < 7.3.6"]}],"summary":{"text":"LibreOffice (The Document Foundation) contains an improper input validation flaw in its handling of the LibreOffice-specific \"vnd.libreoffice.command\" URI scheme, which can be abused to invoke internal macros with attacker-chosen arguments. An attacker who can get a user to open or click a crafted link, or who can rely on a document event being triggered, could achieve arbitrary script execution without a warning, and no authentication is indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:12Z"},"euvd":{"id":"EUVD-2022-42567","exploited":false,"provenance":"source"}}