# CVE-2024-42054: Cervantes through 0.5-alpha accepts insecure file uploads.

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-07-28T00:00:00.000Z
- Modified: 2026-06-17T07:48:42.650Z
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

Cervantes through 0.5-alpha accepts insecure file uploads.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- cervantessec cervantes: 0.3; 0.4; 0.5

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.getastra.com/blog/vulnerability/xss-insecure-file-cervantes/> (third-party-advisory)
- <https://www.jinsonvarghese.com/stored-xss-file-upload-vulnerabilities-found-in-cervantes/> (third-party-advisory)
- <https://github.com/CervantesSec/cervantes/commit/78631a034d0fb3323a53fb7428b2022b29a0d2cd> (patch)

## Sources

- CVE List: [CVE-2024-42054](https://www.cve.org/CVERecord?id=CVE-2024-42054), CVE Terms of Use, modified 2024-10-28
- NVD: [CVE-2024-42054](https://nvd.nist.gov/vuln/detail/CVE-2024-42054), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42054 · Whole record: https://cve.day/CVE-2024-42054.json · Rebuilt by cve.day 2026-11-25T22:58:43.256Z
