GitHub Advisoryadvisory · PyPI

GHSA-78cv-mqj4-43f7 Tornado has incomplete validation of cookie attributes

MEDIUM Published 2026-03-11 Modified 2026-03-11 Official page ↗
Ecosystem
PyPI
Packages
tornado
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-74
Reviewed
2026-03-11

Affected packages

• PyPI tornado: < 6.5.5 → fixed in 6.5.5

Description

Values passed to the `domain`, `path`, and `samesite` arguments of `RequestHandler.set_cookie` were not completely validated in versions of Tornado prior to 6.5.5. In particular, semicolons would be allowed, which could be used to inject attacker-controlled values for other cookie attributes.

Related

Weakness · CWE (1)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness

References