CVE-2021-40848
CVE-2021-40848 is a high-severity vulnerability in Mahara with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1236.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 1% (57th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-1236
- Affected product: Mahara
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-40848?
- 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.
- How severe is CVE-2021-40848?
- CVE-2021-40848 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-40848 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (57th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40848?
- CVE-2021-40848 primarily affects Mahara. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-40848?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-40848 published?
- CVE-2021-40848 was published on 2021-11-03 and last updated on 2026-06-17.
References
- https://bugs.launchpad.net/mahara/+bug/1930471
- https://mahara.org/interaction/forum/topic.php?id=8950
Affected products (3)
- cpe:2.3:a:mahara:mahara:*:*:*:*:*:*:*:*
- cpe:2.3:a:mahara:mahara:21.10.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:mahara:mahara:21.10.0:rc2:*:*:*:*:*:*
More vulnerabilities in Mahara
- CVE-2022-45134 — Critical (CVSS 9.8): Mahara 21.10 before 21.10.6, 22.04 before 22.04.4, and 22.10 before 22.10.1 deserializes user input unsafely during…
- CVE-2022-44544 — Critical (CVSS 9.8): Mahara 21.04 before 21.04.7, 21.10 before 21.10.5, 22.04 before 22.04.3, and 22.10 before 22.10.0 potentially allow a…
- CVE-2021-40849 — Critical (CVSS 9.8): In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, the account associated with a web services token is vulnerable…
- CVE-2017-1000154 — Critical (CVSS 9.8): Mahara 15.04 before 15.04.8 and 15.10 before 15.10.4 and 16.04 before 16.04.2 are vulnerable to some authentication…
- CVE-2017-1000153 — Critical (CVSS 9.8): Mahara 15.04 before 15.04.10 and 15.10 before 15.10.6 and 16.04 before 16.04.4 are vulnerable to incorrect access…
- CVE-2017-1000152 — Critical (CVSS 9.8): Mahara 15.04 before 15.04.7 and 15.10 before 15.10.3 running PHP 5.3 are vulnerable to one user being logged in as…
Other CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities
- CVE-2026-31049 — Critical (CVSS 9.8): An issue in Hostbill v.2025-11-24 and 2025-12-01 allows a remote attacker to execute arbitrary code and escalate…
- CVE-2020-36962 — Critical (CVSS 9.8): Tendenci 12.3.1 contains a CSV formula injection vulnerability in the contact form message field that allows attackers…
- CVE-2021-47901 — Critical (CVSS 9.8): Dirsearch 0.4.1 contains a CSV injection vulnerability when using the --csv-report flag that allows attackers to inject…
- CVE-2020-36941 — Critical (CVSS 9.8): Knockpy 4.1.1 contains a CSV injection vulnerability that allows attackers to inject malicious formulas into CSV…
- CVE-2025-56267 — Critical (CVSS 9.8): A CSV injection vulnerability in the /id_profiles endpoint of Avigilon ACM v7.10.0.20 allows attackers to execute…
- CVE-2023-47295 — Critical (CVSS 9.8): A CSV injection vulnerability in NCR Terminal Handler v1.5.1 allows attackers to execute arbitrary commands via…
Browse all CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities →