{"id":"CVE-2023-6551","aliases":[],"url":"https://o3.security/vulnerability/CVE-2023-6551","summary":"class.upload.php allows cross-site scripting attacks via uploaded files","details":"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.\n\n\n","published":"2024-01-04T18:30:21Z","modified":"2024-02-16T08:18:14.342056Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"verot/class.upload.php","fixedVersion":null}],"fix":{"url":"https://github.com/verot/class.upload.php/commit/befbccc2330b0ccb148fc87495896bd7b57f8c57","label":"verot/class.upload.php@befbccc"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6551"},{"type":"WEB","url":"https://github.com/verot/class.upload.php/commit/befbccc2330b0ccb148fc87495896bd7b57f8c57"},{"type":"WEB","url":"https://cert.pl/en/posts/2024/01/CVE-2023-6551"},{"type":"WEB","url":"https://cert.pl/posts/2024/01/CVE-2023-6551"},{"type":"PACKAGE","url":"https://github.com/verot/class.upload.php"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-02-16T08:18:14.342056Z"}}