html injection vulnerability in the `tuitse_html` function.
Moderate severity
GitHub Reviewed
Published
Jan 22, 2024
in
i3thuan5/TuiTse-TsuSin
•
Updated Nov 18, 2024
Description
Published to the GitHub Advisory Database
Jan 22, 2024
Reviewed
Jan 22, 2024
Published by the National Vulnerability Database
Jan 23, 2024
Last updated
Nov 18, 2024
Impact
When using
tuitse_html
without quoting the input, there is a html injection vulnerability. It should use the django versiondjango.utils.html.format_html
, instead ofstring.format()
Patches
Upgrade to version 1.3.2.
Workarounds
Sanitizing Taigi input with HTML quotation.
References
i3thuan5/TuiTse-TsuSin#22
References