CVE-2021-25938 Cross-site scripting in ArangoDB

Medium 6.1 Published Updated

Attackers can exploit Cross-Site Scripting in ArangoDB via malicious zip file names and missing X-Frame-Options headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-25938?

CVE-2021-25938 is a medium-severity cross-site scripting vulnerability in ArangoDB, published on 24 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In ArangoDB, versions v2.2.6.2 through v3.7.10 are vulnerable to Cross-Site Scripting (XSS), since there is no validation of the .zip file name and filtering of potential abusive characters which zip files can be named to. There is no X-Frame-Options Header set, which makes it more susceptible for leveraging self XSS by attackers.

Weakness: CWE-79

Which versions are affected by CVE-2021-25938?

It affects 1 product.

Products include Arangodb Arangodb.

How do I fix CVE-2021-25938?

No fix has been published for CVE-2021-25938 yet. Limit exposure of the affected software until one is available.

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-2021-25938 being exploited?

There is no known exploitation of CVE-2021-25938 in the wild and no public exploit code.

Sources

Also known as GHSA-fm33-4p7j-3jhr.

Is CVE-2021-25938 in your software?

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

Check your SBOMs for free