A vulnerability exists in the Create User process, allowing the creation of a new admin account with an option to upload a profile image. An attacker can upload a malicious SVG file containing an embedded script. When the profile image is accessed, the embedded script executes, leading to the potential theft of session cookies.
The below link is a private YouTube video for PoC. https://youtu.be/5j8owD0--1A
The stored XSS can lead to session hijacking and privilege escalation, effectively bypassing any CSRF protections in place.
{
"cwe_ids": [
"CWE-616",
"CWE-692",
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2024-11-13T18:37:15Z",
"nvd_published_at": "2024-11-13T16:15:20Z",
"severity": "MODERATE"
}