Security mailing lists by PureSourceCode

CVE-2023-6551

MEDIUM 5.4CVSS 3.1

class.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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD verot class.upload.php
cpe:2.3:a:verot:class.upload.php:-:*:*:*:*:*:*:*
(no version)
OSV Packagist verot/class.upload.php <= 2.1.6

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.