logo

CVE-2023-6551 verot/class.upload.php

Package

Manager: composer
Name: verot/class.upload.php
Vulnerable Version: >=0 <=2.1.6

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00079 pctl0.24297

Details

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.

Metadata

Created: 2024-01-04T18:30:21Z
Modified: 2024-01-04T20:10:32Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-v6f4-jwv9-682w/GHSA-v6f4-jwv9-682w.json
CWE IDs: ["CWE-20", "CWE-434"]
Alternative ID: GHSA-v6f4-jwv9-682w
Finding: F027
Auto approve: 1