File Upload Types by WPForms <= 1.5.0 - Authenticated (Author+) Stored Cross-Site Scripting via Uppercase File Extension Sanitization Bypass

Medium 6.4 CWE-178Fixed in 1.6.0
ID
WPSEC-2026-4425
Plugin
File Upload Types by WPForms (file-upload-types)
Affected
from 1.5.0 before 1.6.0
Remediation
Update to 1.6.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-178
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-03
Attack surface
File Upload Types by WPForms on WPSec AttackSurface
Fix released
Published

Description

The File Upload Types by WPForms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via uploaded files with uppercase extensions in all versions up to, and including, 1.5.0, due to a case-sensitive comparison when determining whether an uploaded file type is risky and requires sanitization. Files with extensions such as '.SVG' or '.HTML' were not treated as risky and were stored without any sanitization. This makes it possible for authenticated attackers, with Author-level access and above, to upload files containing arbitrary web scripts that execute whenever a user accesses the uploaded file, on sites where SVG or HTML uploads are enabled.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0