Report an incident
Report an incident

Vulnerability in class.upload.php open source library
04 January 2024 | CERT Polska | #vulnerability, #warning, #cve
CVE ID CVE-2023-6551
Publication date 04 January 2024
Vendor Colin Verot
Product class.upload.php
Vulnerable versions All
Vulnerability type (CWE) Improper Input Validation (CWE-20)
Report source Own research


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.

The weakness has been confirmed by the vendor and assigned the ID CVE-2023-6551.

More about the coordinated vulnerability disclosure process at CERT Polska can be found at