Betheme <= 28.4 - Authenticated (Author+) Arbitrary File Upload to Remote Code Execution via Icon Pack Upload

8.8
Unrestricted Upload of File with Dangerous Type
CVE CVE-2026-6261
CVSS 8.8 (High)
Publicly Published May 4, 2026
Last Updated May 5, 2026
Researchers Webbernaut
Leonid Semenenko (lsemenenko)

Description

The Betheme theme for WordPress is vulnerable to Arbitrary File Upload in versions up to, and including, 28.4. This is due to the upload_icons() function workflow moving and unzipping user-controlled ZIP files into a public uploads directory without validating extracted file types. This makes it possible for authenticated attackers, with author-level access and above, to upload arbitrary files (including PHP) and achieve remote code execution via the Icons icon-pack upload flow.

Learn more about Arbitrary File Upload vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Betheme

Software Type Theme
Software Slug betheme
Patched? Yes
Remediation Update to version 28.4.1, or a newer patched version
Affected Version
  • <= 28.4
Patched Version
  • 28.4.1

Recent vulnerabilities in Betheme

# Title CVE ID CVSS Researchers Date
1 Betheme <= 28.4 - Authenticated (Contributor+) Arbitrary File Deletion via 'mfn-icon-upload' CVE-2026-6262 6.5 Webbernaut, Leonid Semenenko (lsemenenko) May 4, 2026
2 Betheme <= 28.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'page_title' CVE-2025-9371 6.4 Zbigniew Piotrak October 8, 2025
3 Betheme <= 28.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-63075 6.4 João Pedro Soares de Alcântara October 6, 2025
4 Betheme <= 28.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-7399 6.4 stealthcopter August 5, 2025
5 Betheme <= 28.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-3077 6.4 Webbernaut April 15, 2025
6 Betheme <= 27.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom JS CVE-2025-0450 6.4 stealthcopter January 20, 2025
7 Betheme | Responsive Multipurpose WordPress & WooCommerce Theme <= 27.5.5 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File CVE-2024-5567 6.4 wesley (wcraft) September 12, 2024
8 Betheme | Responsive Multipurpose WordPress & WooCommerce Theme <= 27.5.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2024-3998 6.4 Foxyyy August 29, 2024
9 Betheme <= 27.5.6 - Authenticated (Contributor+) PHP Object Injection CVE-2024-2694 8.8 Francesco Carlucci August 29, 2024
10 Betheme <= 27.1.1 - Missing Authorization CVE-2023-47770 6.3 Rafie Muhammad November 14, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation