# CVE-2021-43257: MantisBT CSV Injection unprivileged user access in csv_export.php

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-14T19:25:45.000Z
- Modified: 2026-06-17T04:10:44.707Z
- Also known as: GHSA-rg8f-5p7x-m6wv
- Weaknesses: CWE-1236
- Assigned by: mitre

## Description

Lack of Neutralization of Formula Elements in the CSV API of MantisBT before 2.25.3 allows an unprivileged attacker to execute code or gain access to information when a user opens the csv_export.php generated CSV file in Excel.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mantisbt/mantisbt (Packagist): before 2.25.3
- mantisbt mantisbt: before 2.25.3

## Every score

- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://www.mantisbt.org/bugs/view.php?id=29130> (exploit, issue-tracking, patch, vendor-advisory, web)
- <https://github.com/mantisbt/mantisbt/commit/7f4534c723e3162b8784aebda4836324041dbc3e> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43257> (advisory)
- <https://github.com/mantisbt/mantisbt/commit/99eb8d41cbacc703f88807898dcc9ac55eec0f15> (web)
- <https://github.com/mantisbt/mantisbt> (package)

## Sources

- CVE List: [CVE-2021-43257](https://www.cve.org/CVERecord?id=CVE-2021-43257), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-rg8f-5p7x-m6wv](https://github.com/advisories/GHSA-rg8f-5p7x-m6wv), CC-BY-4.0, modified 2025-05-30
- NVD: [CVE-2021-43257](https://nvd.nist.gov/vuln/detail/CVE-2021-43257), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43257 · Whole record: https://cve.day/CVE-2021-43257.json · Rebuilt by cve.day 2026-11-25T22:24:36.890Z
