CVE-2023-6551
Stored XSS in class.upload.php
- State
- Published
- Severity
- 5.4 Medium
- Published
- Jan 4, 2024
- Updated
- Jun 3, 2025
- Reserved
- Dec 6, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
Weaknesses
- CWE-434 Unrestricted Upload of File with Dangerous Type
Affected Products
| Product | Versions |
|---|---|
class.upload.phpclass.upload.php |
|
References
- https://cert.pl/posts/2024/01/CVE-2023-6551third-party-advisory
- https://cert.pl/en/posts/2024/01/CVE-2023-6551third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.