CVE-2022-30289 Cross-site scripting in n/a
Attackers can inject malicious scripts via file uploads in OpenCTI's Data Import feature, leading to code execution when victims view the file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-30289?
CVE-2022-30289 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Jul 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A stored Cross-site Scripting (XSS) vulnerability was identified in the Data Import functionality of OpenCTI through 5.2.4. An attacker can abuse the vulnerability to upload a malicious file that will then be executed by a victim when they open the file location.
Weakness: CWE-79
Which versions are affected by CVE-2022-30289?
1 open source package ship an affected version, including pycti. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pycti PyPI | All versions | 5.3.0 |
Products include Citeum Opencti.
How do I fix CVE-2022-30289?
Upgrade pycti to 5.3.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-30289 being exploited?
There is no known exploitation of CVE-2022-30289 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2026-27960 OpenCTI privilege escalation and unauthenticated access via default admin account
- CVE-2026-39980 OpenCTI affected by RCE via notifier template
- CVE-2025-24977 OpenCTI has remote code execution and sensitive secrets exposed through web hook
- CVE-2024-26139 OpenCTI Authenticated Privilege Escalation
- CVE-2024-45404 OpenCTI's lack of Rate Limit lead to OTP brute forcing
Sources
Also known as GHSA-5w4w-f8gg-22rw, PYSEC-2022-43185.