# Mang Board <= 2.4.3 - Unauthenticated Local File Inclusion via '{mode}_type' Parameter

- **ID:** WPSEC-2026-0779
- **Plugin:** Mang Board (`mangboard`), https://wordpress.org/plugins/mangboard/
- **Affected versions:** all versions before 2.4.4
- **Fixed in:** 2.4.4 (Update to 2.4.4 or later.)
- **Severity:** Critical 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-98
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-10-12)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mangboard
- **Fix released:** 2026-10-11
- **Published:** 2026-10-12
- **URL:** https://wpsec.com/vuln/WPSEC-2026-0779/

## Description

The Mang Board plugin for WordPress is vulnerable to Local File Inclusion via the '{mode}_type' request parameter in all versions up to, and including, 2.4.3, due to insufficient sanitization of the parameter before it is used to build the path of a board skin template passed to require(). Only a few fixed type names were filtered, so a POST request with a custom 'mode' value can send a matching '<mode>_type' value containing directory traversal sequences. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server through any page that shows a Mang Board board. This can be used to bypass access controls, obtain sensitive data, or achieve code execution where PHP files can be placed on the server.

## References

- https://wpsec.com/vuln/WPSEC-2026-0779/
- https://plugins.svn.wordpress.org/mangboard/tags/2.4.4/
- https://wordpress.org/plugins/mangboard/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-0779/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
