Betheme <= 28.4 - Authenticated (Contributor+) Arbitrary File Deletion via 'mfn-icon-upload'

6.5
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2026-6262
CVSS 6.5 (Medium)
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 Deletion in versions up to, and including, 28.4. This is due to the upload_icons() function workflow using a user-controlled upload path (`mfn-icon-upload`) in a filesystem move operation without constraining it to the uploads directory. This makes it possible for authenticated attackers, with contributor-level access and above, to move/delete arbitrary local files via path traversal.

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+) Stored Cross-Site Scripting via 'icon_box_2' Shortcode CVE-2026-6178 6.4 João Pedro Soares de Alcântara August 25, 2026
2 Betheme <= 28.5.7 - Authenticated (Contributor+) Remote Code Execution CVE-2026-65548 8.8 daroo July 28, 2026
3 Betheme <= 28.4 - Authenticated (Author+) Arbitrary File Upload to Remote Code Execution via Icon Pack Upload CVE-2026-6261 8.8 Webbernaut, Leonid Semenenko (lsemenenko) May 4, 2026
4 Betheme <= 28.1.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'page_title' CVE-2025-9371 6.4 Zbigniew Piotrak October 8, 2025
5 Betheme <= 28.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-63075 6.4 João Pedro Soares de Alcântara October 6, 2025
6 Betheme <= 28.1.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-7399 6.4 stealthcopter August 5, 2025
7 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via Magnific Popups JavaScript Library CVE-2024-5647 6.4 Webbernaut July 2, 2025
8 Betheme <= 28.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-3077 6.4 Webbernaut April 15, 2025
9 Betheme <= 27.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom JS CVE-2025-0450 6.4 stealthcopter January 20, 2025
10 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

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