Skip to content

html injection vulnerability in the `tuitse_html` function.

Moderate severity GitHub Reviewed Published Jan 22, 2024 in i3thuan5/TuiTse-TsuSin • Updated Feb 2, 2024

Package

pip TuiTse-TsuSin (pip)

Affected versions

< 1.3.2

Patched versions

1.3.2

Description

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

i3thuan5/TuiTse-TsuSin#22

References

@sih4sing5hong5 sih4sing5hong5 published to i3thuan5/TuiTse-TsuSin Jan 22, 2024
Published to the GitHub Advisory Database Jan 22, 2024
Reviewed Jan 22, 2024
Published by the National Vulnerability Database Jan 23, 2024
Last updated Feb 2, 2024

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2024-23341

GHSA ID

GHSA-m4m5-j36m-8x72
Checking history
See something to contribute? Suggest improvements for this vulnerability.