CVE-2022-3072: francoisjacquet/rosariosis vulnerable to Cross-Site Scripting (XSS)
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.41642%
CWE
Published
9/2/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
francoisjacquet/rosariosis | composer | < 8.9.3 | 8.9.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit dcd3b86 explicitly shows the removal of '.svg' from the FileExtensionWhiteList()
in FileUpload.fnc.php
, with the comment stating this fixes a stored XSS issue. SVG files are inherently risky for XSS as they can contain executable scripts, and allowing them without sanitization creates a direct vulnerability. The patch confirms this was the attack vector by disabling SVG uploads.