# Mang Board <= 2.4.7 - Reflected Cross-Site Scripting via Uploaded File Extension

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

## Description

The Mang Board plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the file name extension sent to the mb_uploader AJAX action in all versions up to, and including, 2.4.7, due to upload error messages containing the unsanitized extension being echoed without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in a victim's browser if they can trick the user into submitting a crafted upload request.

## References

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

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

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.
