Vulnerability · Published Jan 4, 2024 · Assigned by CERT-PL
CVE-2023-6551Stored XSS in class.upload.php
Medium 5.4
In plain English
A medium-severity unrestricted file upload in class.upload.php from class.upload.php. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | verot/class.upload.php | no fix listed | GHSA-v6f4-jwv9-682w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| class.upload.php | class.upload.php | 0 – through * |
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://cert.pl/posts/2024/01/CVE-2023-6551 third-party-advisory
- https://cert.pl/en/posts/2024/01/CVE-2023-6551 third-party-advisory