CVE-2023-6551
MEDIUM 5.4CVSS 3.1class.upload.php allows cross-site scripting attacks via uploaded files
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.
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.
The README has been updated to include these guidelines.
- Published
- 4 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cvd@cert.pl
- NVD status
- Modified
- Weakness
- CWE-20CWE-434
- Also known as
- GHSA-v6f4-jwv9-682w
- Sources
- NVDJSONOSV GHSA-v6f4-jwv9-682wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | verot | class.upload.phpcpe:2.3:a:verot:class.upload.php:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Packagist | verot/class.upload.php | <= 2.1.6 |
References
- https://cert.pl/en/posts/2024/01/CVE-2023-6551 · Third Party Advisory, WEB
- https://cert.pl/posts/2024/01/CVE-2023-6551 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-6551 · ADVISORY
- https://github.com/verot/class.upload.php/commit/befbccc2330b0ccb148fc87495896bd7b57f8c57 · WEB
- https://github.com/verot/class.upload.php · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 4 Jan 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 4 Jan 2024)