CVE-2022-30289 Cross-site scripting in n/a

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
pycti PyPIAll versions5.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.

Sources

Also known as GHSA-5w4w-f8gg-22rw, PYSEC-2022-43185.

Is CVE-2022-30289 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free