Cross-site Scripting Affecting tuitse-tsusin package, versions [,1.3.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (26th 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 Learn

Learn about Cross-site Scripting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-TUITSETSUSIN-6184759
  • published25 Jan 2024
  • disclosed22 Jan 2024
  • creditUnknown

Introduced: 22 Jan 2024

CVE-2024-23341  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade TuiTse-TsuSin to version 1.3.2 or higher.

Overview

TuiTse-TsuSin is a 對齊資訊

Affected versions of this package are vulnerable to Cross-site Scripting due to improper sanitization of user-supplied input in the tuitse_html function. An attacker can inject arbitrary HTML code by providing specially crafted input that is not properly quoted.

Note:

It should use the django version django.utils.html.format_html, instead of string.format().

CVSS Scores

version 3.1