Intel

AIKIDO-2026-729097

tornado is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)CVE-2025-67724 Published 4 days ago

54

Medium Risk

This Affects:

PYTHONtornado
0.0.0 - 6.5.2
Fixed in 6.5.3
Are you affected? Scan for Free

TL;DR

The reason argument (used by both RequestHandler.set_status and tornado.web.HTTPError) 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).

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if untrusted data is passed to the reason argument.

Background info

tornado is vulnerable to Cross-Site Scripting (XSS) in versions 0.0.0 - 6.5.2.

How to fix this

Upgrade the tornado library to the patch version.