CVE-2022-21715
Cross-site Scripting Vulnerability in CodeIgniter4
5.4
MEDIUM
CVSS 3.1
EPSS 1.0%
描述
CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A cross-site scripting (XSS) vulnerability was found in `API\ResponseTrait` in Codeigniter4 prior to version 4.1.8. Attackers can do XSS attacks if a potential victim is using `API\ResponseTrait`. Version 4.1.8 contains a patch for this vulnerability. There are two potential workarounds available. Users may avoid using `API\ResponseTrait` or `ResourceController` Users may also disable Auto Route and use defined routes only.
如何修補 CVE-2022-21715
要修補 CVE-2022-21715,請將受影響套件升級到下列已修補版本。
- —升級至 4.1.8 或更新版本
- —升級至 4.1.8 或更新版本
CVE-2022-21715 正在被利用嗎?
低 — EPSS 為 1.0%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 4.0.0, < 4.1.8
- from 0, < 4.1.8
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |