# CVE-2025-67724: Tornado vulnerable to Header Injection and XSS via reason argument

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-12T05:36:59.992Z
- Modified: 2026-10-07T20:10:01.970Z
- Also known as: GHSA-pr2v-jx2c-wg9f, PYSEC-2025-265
- Weaknesses: CWE-79, CWE-644
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Tornado is a Python web framework and asynchronous networking library. In versions 6.5.2 and below, the supplied reason phrase is used unescaped in HTTP headers (where it could be used for header injection) or in HTML in the default error page (where it could be used for XSS) and can be exploited by passing untrusted or malicious data into the reason argument. Used by both RequestHandler.set_status and tornado.web.HTTPError, the argument is designed to allow applications to pass custom "reason" phrases (the "Not Found" in HTTP/1.1 404 Not Found) to the HTTP status line (mainly for non-standard status codes). This issue is fixed in version 6.5.3.

(As written by CVE List.)

## Affected

- tornadoweb tornado: < 6.5.3; before 6.5.3
- tornado (PyPI): before 6.5.3

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/tornadoweb/tornado/security/advisories/GHSA-pr2v-jx2c-wg9f> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/tornadoweb/tornado/commit/9c163aebeaad9e6e7d28bac1f33580eb00b0e421> (fix, patch, web)
- <https://github.com/tornadoweb/tornado/releases/tag/v6.5.3> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-67724> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tornado/PYSEC-2025-265.yaml> (web)
- <https://github.com/tornadoweb/tornado> (package)

## Sources

- CVE List: [CVE-2025-67724](https://www.cve.org/CVERecord?id=CVE-2025-67724), CVE Terms of Use, modified 2025-12-18
- GitHub Advisory Database: [GHSA-pr2v-jx2c-wg9f](https://github.com/advisories/GHSA-pr2v-jx2c-wg9f), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2025-67724](https://nvd.nist.gov/vuln/detail/CVE-2025-67724), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2025-265](https://osv.dev/vulnerability/PYSEC-2025-265), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-67724 · Whole record: https://cve.day/CVE-2025-67724.json · Rebuilt by cve.day 2026-11-25T22:59:09.301Z
