{"id":"CVE-2023-6551","aliases":["EUVD-2024-0433","GHSA-v6f4-jwv9-682w"],"status":"published","title":"Stored XSS in class.upload.php","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. \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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00436,"percentile":0.38121,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20","CWE-434"],"published":"2024-01-04T16:04:34Z","modified":"2026-06-17T06:50:58Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"verot/class.upload.php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.6"}]}]},{"source":"osv","ecosystem":"Packagist","package":"verot/class.upload.php","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.6"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6"]}],"products":[{"vendor":"class.upload.php","product":"class.upload.php"},{"vendor":"verot","product":"class.upload.php"}],"references":[{"url":"https://cert.pl/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory","x_transferred","Third Party Advisory","web"]},{"url":"https://cert.pl/en/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6551","tags":["advisory"]},{"url":"https://github.com/verot/class.upload.php/commit/befbccc2330b0ccb148fc87495896bd7b57f8c57","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v6f4-jwv9-682w"},{"url":"https://github.com/verot/class.upload.php","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-6551","title":"Stored XSS in class.upload.php","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. \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.","status":"published","published":"2024-01-04T16:04:34.995Z","modified":"2025-06-03T14:42:21.494Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-434","CWE-434"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2024-0433","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. \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.","status":"published","published":"2024-01-04T16:04:34Z","modified":"2025-06-03T14:42:21Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:31.146985Z"}],"ghsa":[{"id":"GHSA-v6f4-jwv9-682w","title":"class.upload.php allows cross-site scripting attacks via uploaded files","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. \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","status":"published","published":"2024-01-04T18:30:21Z","modified":"2024-01-11T18:56:26Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20","CWE-434"],"updated_at":"2026-11-02T14:37:30.812736Z"}],"nvd":[{"id":"CVE-2023-6551","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. \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.","status":"published","published":"2024-01-04T16:15:09.38Z","modified":"2026-06-17T06:50:58.287Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:08:59.830468Z"}],"osv":[{"id":"GHSA-v6f4-jwv9-682w","title":"class.upload.php allows cross-site scripting attacks via uploaded files","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. \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","status":"published","published":"2024-01-04T18:30:21Z","modified":"2024-02-16T08:18:14.342056Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20","CWE-434"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
