CVE-2021-38193
Incorrect handling of embedded SVG and MathML leads to mutation XSS
6.1
MEDIUM
CVSS 3.1
EPSS 0.70%
描述
An issue was discovered in the ammonia crate before 3.1.0 for Rust. XSS can occur because the parsing differences for HTML, SVG, and MathML are mishandled, a similar issue to CVE-2020-26870.
如何修補 CVE-2021-38193
要修補 CVE-2021-38193,請將受影響套件升級到下列已修補版本。
- Debian/rust-ammonia—升級至 3.1.2-1 或更新版本
- —升級至 3.1.0 或更新版本
- —升級至 2.1.3 或更新版本
CVE-2021-38193 正在被利用嗎?
低 — EPSS 為 0.7%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 3.1.2-1
- >= 3.0.0, < 3.1.0
- >= 0.0.0-0, < 2.1.3, >= 3.0.0, < 3.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |