~ / search / GHSA-m4m5-j36m-8x72

GHSA-m4m5-j36m-8x72

html injection vulnerability in the `tuitse_html` function.

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-23341

Packages

EcosystemPackageAffectedFixed in
PyPI TuiTse-TsuSin < 1.3.2 1.3.2

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

External links from the advisory. They lead to third-party sites.