{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-6551","assignerOrgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","state":"PUBLISHED","assignerShortName":"CERT-PL","dateReserved":"2023-12-06T11:18:59.869Z","datePublished":"2024-01-04T16:04:34.995Z","dateUpdated":"2025-06-03T14:42:21.494Z"},"containers":{"cna":{"affected":[{"defaultStatus":"affected","product":"class.upload.php","repo":"https://github.com/verot/class.upload.php","vendor":"class.upload.php","versions":[{"lessThanOrEqual":"*","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Krzysztof Zając (CERT.PL)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div>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. <br></div><div>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. <br></div><div>The README has been updated to include these guidelines.<br></div>"}],"value":"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."}],"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]},{"capecId":"CAPEC-209","descriptions":[{"lang":"en","value":"CAPEC-209 XSS Using MIME Type Mismatch"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"4bb8329e-dd38-46c1-aafb-9bf32bcb93c6","shortName":"CERT-PL","dateUpdated":"2024-10-10T15:36:10.697Z"},"references":[{"tags":["third-party-advisory"],"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"}],"source":{"discovery":"UNKNOWN"},"title":"Stored XSS in class.upload.php","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T08:35:14.672Z"},"title":"CVE Program Container","references":[{"tags":["third-party-advisory","x_transferred"],"url":"https://cert.pl/posts/2024/01/CVE-2023-6551"},{"tags":["third-party-advisory","x_transferred"],"url":"https://cert.pl/en/posts/2024/01/CVE-2023-6551"}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-434","lang":"en","description":"CWE-434 Unrestricted Upload of File with Dangerous Type"}]}],"metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-08T20:16:15.657075Z","id":"CVE-2023-6551","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-06-03T14:42:21.494Z"}}]}}