CVE-2023-6551

Stored XSS in class.upload.php

Published Jan 4, 2024 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0433 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.
Github GHSA Github GHSA GHSA-v6f4-jwv9-682w class.upload.php allows cross-site scripting attacks via uploaded files
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
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. 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.
Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Jun 3, 2025, 2:42 PM
Reserved
Dec 6, 2023, 11:18 AM
Status
Modified
Published
Jan 4, 2024, 4:15 PM
Modified
Jun 17, 2026, 6:50 AM