Cross-site Scripting (XSS) Affecting python3.12-test package, versions <0:3.12.13-2.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PYTHON312TEST-17289383
  • published10 Jun 2026
  • disclosed22 Apr 2026

Introduced: 22 Apr 2026

CVE-2026-6019  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3.12-test to version 0:3.12.13-2.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2026-1821.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-test package and not the python3.12-test package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.

CVSS Base Scores

version 3.1