Cross-Site Scripting (XSS) vulnerability was found in API\ResponseTrait in Codeigniter4.
Attackers can do XSS attacks if you are using API\ResponseTrait.
Upgrade to v4.1.8 or later.
Do one of the following:
1. Do not use API\ResponseTrait nor ResourceController
2. Disable Auto Route and Use Defined Routes Only
If you have any questions or comments about this advisory: * Open an issue in codeigniter4/CodeIgniter4 * Email us at SECURITY.md
{
"github_reviewed": true,
"github_reviewed_at": "2022-01-24T22:20:42Z",
"nvd_published_at": "2022-01-24T20:15:00Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-79"
]
}