{"id":"CVE-2023-6551","published":"2024-01-04T16:04:34Z","modified":"2025-06-03T14:42:21Z","title":"Stored XSS in class.upload.php","vendor":"class.upload.php","product":"class.upload.php","tier":"tail","description":{"text":"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. \n\n\nDevelopers 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. \n\n\nThe README has been updated to include these guidelines.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00436,"percentile":0.38719,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://cert.pl/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory"]},{"url":"https://cert.pl/en/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":7.74},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"class-upload-php","affectedVersions":[{"vendor":"class.upload.php","product":"class.upload.php","versions":["all versions"]}],"capec":[{"id":"CAPEC-592","name":"Stored XSS"},{"id":"CAPEC-209","name":"XSS Using MIME Type Mismatch"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T20:16:15.657075Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"verot/class.upload.php","vulnerableRanges":["<=2.1.6"],"patched":[],"from":["GHSA-v6f4-jwv9-682w"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0433","exploited":false,"provenance":"source"}}