CVE-2025-67724CWE-644CWE-79cross-site-scripting

CVE-2025-67724

Medium · published December 12, 2025

CVSS v3.1
5.4
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.3th percentile
Weaknesses
CWE-644 · Improper Neutralization of HTTP Headers for Scripting Syntax; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-12-12T11:15Z
Affected products (1)
ProductVersionsFixed in
tornadoweb/tornado< 6.5.36.5.3
References (3)
EPSS history
Timeline
  • 12 DEC 05:36Z
    Tornado vulnerable to Header Injection and XSS via reason argument
    cvelistv5