Advisory

GHSA-v6f4-jwv9-682w

Also known as: CVE-2023-6551

Summary

class.upload.php allows cross-site scripting attacks via uploaded files

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-01-04 18:30 UTC
Modified
2024-02-16 08:18 UTC

Affected packages and fixes

verot/class.upload.php

Packagist · All systems

Affected

  • introduced 0, last affected 2.1.6 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences