CVE-2021-30245: Arbitrary Code Execution via Non-HTTP(S) Hyperlinks in Apache OpenOffice
- Vendor
- Apache Software Foundation
A vulnerability in Apache OpenOffice through version 4.1.9 allows documents to contain non-http(s) hyperlinks that, when opened, can result in the execution of untrusted code. This issue has existed since approximately 2006. The vulnerability arises from insufficient validation of hyperlink protocols, allowing attackers to craft links that trigger execution of arbitrary code when a user interacts with them.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary code on the victim's system if the user opens a maliciously crafted hyperlink in an OpenOffice document. This can lead to full compromise of the affected system, depending on the privileges of the user running OpenOffice.
Mitigation
If you can’t patch tonight, do this now.
Users should avoid opening documents from untrusted or unknown sources. Additionally, users should be cautious when clicking on hyperlinks within documents, especially those that do not use http or https protocols. System administrators can consider restricting protocol handlers or using endpoint security solutions to limit the impact of such attacks.
Remediation
Patch, then assume compromise.
Upgrade to Apache OpenOffice 4.1.10 or later, which introduces a security warning dialog when opening non-http(s) hyperlinks, allowing users to make an informed decision before proceeding.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-30245 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-30245 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-30245?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-30245.
- Is there a patch for CVE-2021-30245?
- Upgrade to Apache OpenOffice 4.1.10 or later, which introduces a security warning dialog when opening non-http(s) hyperlinks, allowing users to make an informed decision before proceeding.
- What products are affected by CVE-2021-30245?
- Apache Software Foundation Openoffice.
- How severe is CVE-2021-30245?
- CVE-2021-30245 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 4.9% (92nd percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.