XSS can be triggered via the Update Asset Index utility
XSS will be triggered
Json response volumes name makes triggers the payload
"session":{"id":1,"indexedVolumes":{"1":"\"<script>alert(26)</script>"},
It’s run on every POST request in the utility.
Resolved in https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766
{
"severity": "MODERATE",
"cwe_ids": [
"CWE-79",
"CWE-80"
],
"github_reviewed_at": "2023-05-26T13:56:26Z",
"github_reviewed": true,
"nvd_published_at": "2023-05-26T20:15:48Z"
}