CVE-2021-32696
Passing in a non-string 'html' argument can lead to unsanitized output
3.7
LOW
CVSS 3.1
EPSS 0.29%
描述
A type-confusion vulnerability can cause `striptags` to concatenate unsanitized strings when an array-like object is passed in as the `html` parameter. This can be abused by an attacker who can control the shape of their input, e.g. if query parameters are passed directly into the function. ### Impact XSS ### Patches `3.2.0` ### Workarounds Ensure that the `html` parameter is a string before calling the function.
如何修補 CVE-2021-32696
要修補 CVE-2021-32696,請將受影響套件升級到下列已修補版本。
- —升級至 3.2.0 或更新版本
CVE-2021-32696 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 3.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |