{"id":"GHSA-m4m5-j36m-8x72","summary":"html injection vulnerability in the `tuitse_html` function.","details":"### 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","aliases":["CVE-2024-23341","PYSEC-2024-22"],"modified":"2024-11-18T23:25:37.606475Z","published":"2024-01-22T21:32:52Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-01-22T21:32:52Z","nvd_published_at":"2024-01-23T18:15:19Z"},"references":[{"type":"WEB","url":"https://github.com/i3thuan5/TuiTse-TsuSin/security/advisories/GHSA-m4m5-j36m-8x72"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23341"},{"type":"WEB","url":"https://github.com/i3thuan5/TuiTse-TsuSin/pull/22"},{"type":"WEB","url":"https://github.com/i3thuan5/TuiTse-TsuSin/commit/9d21d99d7cfcd7c42aade251fab98ec102e730ea"},{"type":"PACKAGE","url":"https://github.com/i3thuan5/TuiTse-TsuSin"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuitse-tsusin/PYSEC-2024-22.yaml"}],"affected":[{"package":{"name":"tuitse-tsusin","ecosystem":"PyPI","purl":"pkg:pypi/tuitse-tsusin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}],"versions":["1.0.0","1.1.1","1.2.0","1.2.1","1.3.0","1.3.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-m4m5-j36m-8x72/GHSA-m4m5-j36m-8x72.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}