CVE-2026-125059
HIGH
NVD
CVSS Score
7.5
Severity
HIGH
Published
Nov 20, 2026
Vendor
unknown
Description
The Mang Board plugin for WordPress is vulnerable to Arbitrary File Deletion via Path Traversal in versions up to, and including, 2.4.8 via the `file_path` column handled by the `mbw_board_files_api_body()` function. The plugin stores an attacker-supplied value directly into the files admin table (no realpath, dot-segment, or directory-containment filtering) and later concatenates it onto `MBW_UPLOAD_PATH` before passing the result to `@unlink()`. This makes it possible for unauthenticated attackers to delete arbitrary files on the affected site's server, including `wp-config.
References
- https://plugins.trac.wordpress.org/browser/mangboard/tags/2.4.8/api/mb-board.php#L330
- https://plugins.trac.wordpress.org/browser/mangboard/tags/2.4.8/includes/functions/func.api.php#L152
- https://plugins.trac.wordpress.org/browser/mangboard/tags/2.4.8/includes/functions/func.board.php#L1703
- https://plugins.trac.wordpress.org/browser/mangboard/tags/2.4.8/models/admin/files.php#L87
- https://plugins.trac.wordpress.org/browser/mangboard/tags/2.4.8/models/admin/files.php#L90