Lucene search

K
githubGitHub Advisory DatabaseGHSA-M4M5-J36M-8X72
HistoryJan 22, 2024 - 9:32 p.m.

html injection vulnerability in the `tuitse_html` function.

2024-01-2221:32:52
CWE-79
GitHub Advisory Database
github.com
8
html injection
tuitse_html
django.utils.html.format_html
string.format()
upgrade
version 1.3.2
sanitize
taigi input
patch
software

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

AI Score

7

Confidence

High

EPSS

0.001

Percentile

20.6%

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

Affected configurations

Vulners
Node
ithuantuitse-tsusinRange<1.3.2
VendorProductVersionCPE
ithuantuitse-tsusin*cpe:2.3:a:ithuan:tuitse-tsusin:*:*:*:*:*:*:*:*

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

AI Score

7

Confidence

High

EPSS

0.001

Percentile

20.6%