CVE-2021-40848 Code injection in n/a

High 7.8 Published Updated

Attackers can inject malicious formulas into exported CSV files, leading to local code execution when opened in spreadsheet software.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-40848?

CVE-2021-40848 is a high-severity code injection vulnerability in Mahara Mahara, published on 3 Nov 2021. 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

In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, exported CSV files could contain characters that a spreadsheet program could interpret as a command, leading to execution of a malicious string locally on a device, aka CSV injection.

Weakness: CWE-1236

Which versions are affected by CVE-2021-40848?

It affects 1 product.

Products include Mahara Mahara.

How do I fix CVE-2021-40848?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-40848 being exploited?

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

All Mahara Mahara vulnerabilities

Sources

Also known as GHSA-xxj6-2w57-fchv.

Is CVE-2021-40848 in your software?

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

Check your SBOMs for free