CVE-2021-43257 json
MantisBT CSV Injection unprivileged user access in csv_export.php
published 4y ago modified 4mo ago also GHSA-rg8f-5p7x-m6wv , EUVD-2021-30201
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist mantisbt/mantisbt 2.25.3
- mantisbt mantisbt 2.25.3
Is CVE-2021-43257 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-43257 updated
mantis: 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
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.98% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- mantisbt.org https://www.mantisbt.org/bugs/view.php?id=29130 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mantisbt/mantisbt | <2.25.3 |
2.25.3 |
Classification
- Weakness
-
- CWE-1236 Improper Neutralization of Formula Elements in a CSV File
References
-
github.com
/mantisbt/mantisbt/commit/7f4534c723e3162b8784aebda4836324041dbc3e
web, patch, third-party-advisory
-
mantisbt.org
/bugs/view.php?id=29130
web, exploit, issue-tracking, patch, vendor-advisory
-
github.com
/mantisbt/mantisbt/commit/99eb8d41cbacc703f88807898dcc9ac55eec0f15
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-43257
advisory
-
github.com
/mantisbt/mantisbt
package
Sources
- CVE List CVE-2021-43257
- GitHub Advisory GHSA-rg8f-5p7x-m6wv
- NVD CVE-2021-43257
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.