Vulnerability · Published Jan 23, 2024 · Assigned by GitHub_M
CVE-2024-23341TuiTse-TsuSin html injection vulnerability in `tuitse_html` function
Medium 6.1
In plain English
A medium-severity cross-site scripting in TuiTse-TsuSin from i3thuan5. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 37% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
TuiTse-TsuSin is a package for organizing the comparative corpus of Taiwanese Chinese characters and Roman characters, and extracting sentences of the Taiwanese Chinese characters and the Roman characters. Prior to version 1.3.2, when using `tuitse_html` without quoting the input, there is a html injection vulnerability. Version 1.3.2 contains a patch for the issue. As a workaround, sanitize Taigi input with HTML quotation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | tuitse-tsusin | 1.3.2 | GHSA-m4m5-j36m-8x72 |
| PyPI | tuitse-tsusin | 1.3.2 | PYSEC-2024-22 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| i3thuan5 | TuiTse-TsuSin | < 1.3.2 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N