{"id":"CVE-2024-23341","aliases":["EUVD-2024-0166","GHSA-m4m5-j36m-8x72","PYSEC-2024-22"],"status":"published","title":"TuiTse-TsuSin html injection vulnerability in `tuitse_html` function","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00428,"percentile":0.37382,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-01-22T21:32:52Z","modified":"2026-10-28T02:30:25Z","fixes":[{"ecosystem":"PyPI","package":"tuitse-tsusin","fixed_in":["1.3.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"tuitse-tsusin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"tuitse-tsusin","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"9d21d99d7cfcd7c42aade251fab98ec102e730ea"}]},{"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"]}],"products":[{"vendor":"i3thuan5","product":"tuitse-tsusin"},{"vendor":"ithuan","product":"tuitse-tsusin"}],"references":[{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/security/advisories/GHSA-m4m5-j36m-8x72","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/pull/22","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin/commit/9d21d99d7cfcd7c42aade251fab98ec102e730ea","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23341","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tuitse-tsusin/PYSEC-2024-22.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m4m5-j36m-8x72"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23341.json","tags":["advisory"]},{"url":"https://github.com/i3thuan5/TuiTse-TsuSin","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-23341","title":"TuiTse-TsuSin html injection vulnerability in `tuitse_html` function","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.","status":"published","published":"2024-01-23T17:22:39.159Z","modified":"2024-09-11T19:27:27.515Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:05.077718Z"}],"euvd":[{"id":"EUVD-2024-0166","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.","status":"published","published":"2024-01-23T17:22:39Z","modified":"2024-09-11T19:27:27Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:55:57.81164Z"}],"ghsa":[{"id":"GHSA-m4m5-j36m-8x72","title":"html injection vulnerability in the `tuitse_html` function.","description":"### 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","status":"published","published":"2024-01-22T21:32:52Z","modified":"2024-11-18T23:17:41Z","cvss":[{"version":"4.0","score":5.3,"vector":"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","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:38:20.833758Z"}],"nvd":[{"id":"CVE-2024-23341","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.","status":"published","published":"2024-01-23T18:15:19.25Z","modified":"2026-06-17T07:12:37.92Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:32.147098Z"}],"osv":[{"id":"CVE-2024-23341","title":"TuiTse-TsuSin html injection vulnerability in `tuitse_html` function","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.","status":"published","published":"2024-01-23T17:22:39.159Z","modified":"2026-10-28T02:30:25.696287435Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-m4m5-j36m-8x72","title":"html injection vulnerability in the `tuitse_html` function.","description":"### 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","status":"published","published":"2024-01-22T21:32:52Z","modified":"2026-09-10T03:50:05.032692024Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"4.0","score":5.3,"vector":"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","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.463834Z"},{"id":"PYSEC-2024-22","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.","status":"published","published":"2024-01-23T18:15:00Z","modified":"2024-02-01T22:42:07.450939Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:54.242332Z"}]}}
