Security mailing lists by PureSourceCode

CVE-2025-67724

MEDIUM 6.1CVSS 3.1

Tornado vulnerable to Header Injection and XSS via reason argument

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.

Published
12 Dec 2025
Last modified
7 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-pr2v-jx2c-wg9fPYSEC-2025-265
Sources
NVDJSONOSV GHSA-pr2v-jx2c-wg9fJSONOSV PYSEC-2025-265JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tornadoweb tornado
cpe:2.3:a:tornadoweb:tornado:*:*:*:*:*:*:*:*
< 6.5.3 6.5.3
OSV PyPI tornado < 6.5.3 6.5.3

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 12 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Dec 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.