CVE-2024-23341: html injection vulnerability in the `tuitse_html` function.
Impact When using tuitsehtml without quoting the input, there is a html injection vulnerability. It should use the django version django.utils.html.formathtml, instead of string.format() Patches Upgrade to version 1.3.2. Workarounds Sanitizing Taigi input with HTML quotation. References https://github.com/i3thuan5/TuiTse-TsuSin/pull/22
Published Jan 22, 2024 · Updated Nov 18, 2024
Affected packages
TuiTse-TsuSin
- Ecosystem
- PyPI
- Affected
- < 1.3.2
- Fixed in
- 1.3.2
- Check
pip show TuiTse-TsuSin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
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()
Patches
Upgrade to version 1.3.2.
Workarounds
Sanitizing Taigi input with HTML quotation.
References
https://github.com/i3thuan5/TuiTse-TsuSin/pull/22
References
- https://github.com/i3thuan5/TuiTse-TsuSin/security/advisories/GHSA-m4m5-j36m-8x72
- https://github.com/i3thuan5/TuiTse-TsuSin/pull/22
- https://nvd.nist.gov/vuln/detail/CVE-2024-23341
- https://github.com/i3thuan5/TuiTse-TsuSin/commit/9d21d99d7cfcd7c42aade251fab98ec102e730ea
- https://github.com/pypa/advisory-database/tree/main/vulns/tuitse-tsusin/PYSEC-2024-22.yaml
- https://github.com/advisories/GHSA-m4m5-j36m-8x72
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
