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.
History

Thu, 10 Oct 2024 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 10 Oct 2024 15:45:00 +0000

Type Values Removed Values Added
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. 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.

cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published: 2024-01-04T16:04:34.995Z

Updated: 2024-10-10T15:36:10.697Z

Reserved: 2023-12-06T11:18:59.869Z

Link: CVE-2023-6551

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2024-01-04T16:15:09.380

Modified: 2024-11-21T08:44:04.863

Link: CVE-2023-6551

cve-icon Redhat

No data.