{"id":"CVE-2024-23341","aliases":["GHSA-m4m5-j36m-8x72","PYSEC-2024-22"],"title":"html injection vulnerability in the `tuitse_html` function.","summary":"html injection vulnerability in the `tuitse_html` function.","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","vendor":"tuitse-tsusin","product":"tuitse-tsusin","ecosystem":"pip","affected":["tuitse-tsusin < 1.3.2"],"patched":["tuitse-tsusin 1.3.2"],"published":"2024-01-22","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:05.032692024Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-m4m5-j36m-8x72","references":[{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/security/advisories/GHSA-m4m5-j36m-8x72"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23341"},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/pull/22"},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/commit/9d21d99d7cfcd7c42aade251fab98ec102e730ea"},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuitse-tsusin/PYSEC-2024-22.yaml"}],"tags":["osv","pip"],"epss":0.00428,"epssPercentile":0.36561,"ingestedAt":"2026-09-12T03:13:01.709Z","slug":"CVE-2024-23341","body":"## Overview\n\n### Impact\n\nWhen 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()`\n\n### Patches\n\nUpgrade to version 1.3.2.\n\n### Workarounds\n\n\nSanitizing Taigi input with HTML quotation.\n\n### References\n\n\nhttps://github.com/i3thuan5/TuiTse-TsuSin/pull/22\n\n## Affected packages\n\n- `tuitse-tsusin < 1.3.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `tuitse-tsusin 1.3.2`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}