CVE-2023-6186 Link targets allow arbitrary script execution
Attackers can execute arbitrary macros via hyperlinks in LibreOffice documents without user warning, bypassing security prompts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-6186?
CVE-2023-6186 is a high-severity vulnerability in Debian Debian Linux, published on 11 Dec 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Insufficient macro permission validation of The Document Foundation LibreOffice allows an attacker to execute built-in macros without warning.
In affected versions LibreOffice supports hyperlinks with macro or similar built-in command targets that can be executed when activated without warning the user.
Weakness: CWE-281
Which versions are affected by CVE-2023-6186?
It affects 3 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Libreoffice Libreoffice.
How do I fix CVE-2023-6186?
Apply the vendor's patch.
Is CVE-2023-6186 being exploited?
There is no known exploitation of CVE-2023-6186 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLSA-2025-1745596088, DEBIAN-CVE-2023-6186, GHSA-q565-g228-cgg3, UBUNTU-CVE-2023-6186.