{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-6551","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.","descriptionLong":"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.","published":"2024-01-04T16:04:34.995Z","updated":"2026-06-17T06:50:58.287Z","reserved":"2023-12-06T11:18:59.869Z","status":"Modified","rejected":false,"assigner":"CERT-PL","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"CISA-ADP"}],"rating":"medium","products":["class.upload.php"],"affectedProducts":[{"vendor":"class.upload.php","product":"class.upload.php","defaultStatus":"affected","versions":[{"lessThanOrEqual":"*","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-434"],"aliases":[],"references":[{"url":"https://cert.pl/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory","x_transferred","Third Party Advisory"]},{"url":"https://cert.pl/en/posts/2024/01/CVE-2023-6551","tags":["third-party-advisory","x_transferred","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00436,"epssPercentile":0.3859,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-6551","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6551","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-6551","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-6551","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}