CVE-2023-6551
MEDIUM6.5EPSS 0.10%class.upload.php allows cross-site scripting attacks via uploaded files
Published: 1/4/2024Modified: 2/16/2024
Also known as:GHSA-v6f4-jwv9-682w
Description
As a simple library, class.upload.php does not perform an in-depth check on uploaded files, allowing a stored XSS vulnerability when the default configuration is used. Developers must be aware of that fact and use extension whitelisting accompanied by forcing the server to always provide content-type based on the file extension. The README has been updated to include these guidelines.
Affected packages (1)
- Packagist/verot/class.upload.phpfrom 0, <= 2.1.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |