Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. TuiTse-TsuSin
  4. ›
  5. CVE-2024-23341

CVE-2024-23341: html injection vulnerability in the `tuitse_html` function.

January 22, 2024 (updated November 18, 2024)

When using tuitse_html without quoting the input, there is a html injection vulnerability. It should use the django version django.utils.html.format_html, instead of string.format()

References

  • github.com/advisories/GHSA-m4m5-j36m-8x72
  • github.com/i3thuan5/TuiTse-TsuSin
  • github.com/i3thuan5/TuiTse-TsuSin/commit/9d21d99d7cfcd7c42aade251fab98ec102e730ea
  • github.com/i3thuan5/TuiTse-TsuSin/pull/22
  • github.com/i3thuan5/TuiTse-TsuSin/security/advisories/GHSA-m4m5-j36m-8x72
  • github.com/pypa/advisory-database/tree/main/vulns/tuitse-tsusin/PYSEC-2024-22.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-23341

Code Behaviors & Features

Detect and mitigate CVE-2024-23341 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.2

Fixed versions

  • 1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/TuiTse-TsuSin/CVE-2024-23341.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:15:13 +0000.