CVE-2025-67724 Details
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.
A vulnerability allowing header injection and reflected cross-site scripting (XSS) has been identified in the Tornado web framework, in versions prior to 6.5.3. This issue arises because the 'reason' argument, used in both 'RequestHandler.set_status' and 'tornado.web.HTTPError', can be exploited by passing untrusted data. In vulnerable versions, the 'reason' phrase is inserted unescaped into HTTP headers, creating opportunities for header injection, or into the default error page HTML, where it can be used for XSS attacks.
Upgrade to Tornado version 6.5.3 or later. If upgrading is not possible, avoid using untrusted data in the 'reason' argument and consider using the 'log_message' argument for general-purpose error messages in 'HTTPError'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-644 | Improper Neutralization of HTTP Headers for Scripting Syntax | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tornadoweb tornado | < 6.5.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 22, 2025 | Initial Analysis | [email protected] |
| Dec 12, 2025 | New CVE Received | [email protected] |