CVE-2025-67724: Tornado vulnerable to Header Injection and XSS via reason argument
Vulnerability summary
CVE-2025-67724 is a medium (CVSS 6.1) vulnerability in tornadoweb tornado. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.1% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 31Timeline
- 12-12-2025PublishedVulnerability first disclosed.
- 18-12-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page GenerationThe product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-644Improper Neutralization of HTTP Headers for Scripting SyntaxThe product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse5 products
- python-tornado&distro=SUSE Linux Enterprise Micro 5.2< 4.5.3-150000.3.16.1
- python-tornado&distro=SUSE Linux Enterprise Micro 5.3< 4.5.3-150000.3.16.1
- python-tornado&distro=SUSE Linux Enterprise Micro 5.4< 4.5.3-150000.3.16.1
- python-tornado&distro=SUSE Linux Enterprise Micro 5.5< 4.5.3-150000.3.16.1
- python-tornado&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 4.5.3-150000.3.16.1
Alpine1 product
- py3-tornado< 6.5.4-r0
Debian1 product
- python-tornado< 6.2.0-3+deb12u4 | < 6.4.2-3+deb13u2 | < 6.5.4-0.1
PyPI1 product
- tornado< 6.5.3
Tornadoweb1 product
- tornado< 6.5.3
Ubuntu1 product
- python-tornadoAll versions (No fix recorded) | < 6.0.3+really5.1.1-3ubuntu0.1~esm3 | < 6.1.0-3ubuntu0.1~esm4 | < 6.4.0-1ubuntu0.4 | < 6.4.2-3ubuntu0.2
6 vendors · 10 products
References
14 links- github.com/tornadoweb/tornado/security/advisories/GHSA-pr2v-jx2c-wg9fX Refsource CONFIRMWEBAdvisoryREPORTMitigationVendor Advisory
- github.com/tornadoweb/tornado/commit/9c163aebeaad9e6e7d28bac1f33580eb00b0e421X Refsource MISCWEBFIXREPORTPatch