CVE-2023-6551
published medium CVSS 3.1 · 5.4Stored XSS in class.upload.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| class.upload.php | — | class.upload.php0 and later · Other versions: affected | Affected | Not stated | CERT-PL |
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. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| class.upload.php | class.upload.php | 0 and later (affected · semver)Default: affected | CERT-PL · cna |
Weaknesses
2- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
- CWE-434 CWE-434 Unrestricted Upload of File with Dangerous Type
References
2Provider assertions
3CERT-PL · cna
Stored XSS in class.upload.php
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 32a03b4f4206a859a84abf24fd785293ddc7808e7d3537430b46ab196f0ad007
- Ingested
- 23 Sep 2026, 08:15:42 UTC
- Source record
- Official CVE record