CVE-2023-6551: class.upload.php allows cross-site scripting attacks via uploaded files
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.
Published Jan 4, 2024 · Updated Jan 11, 2024
Affected packages
verot/class.upload.php
- Ecosystem
- Composer (PHP)
- Affected
- <= 2.1.6
- Fixed in
- No patched version yet
- Check
composer show verot/class.upload.php
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
