# Mang Board <= 2.4.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via mb_image Shortcode

- **ID:** WPSEC-2026-1168
- **Plugin:** Mang Board (`mangboard`), https://wordpress.org/plugins/mangboard/
- **Affected versions:** all versions before 2.4.6
- **Fixed in:** 2.4.6 (Update to 2.4.6 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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-10-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/mangboard
- **Fix released:** 2026-10-16
- **Published:** 2026-10-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1168/

## Description

The Mang Board plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'mb_image' shortcode in all versions up to, and including, 2.4.5, due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The 'align' attribute is placed unescaped inside a style attribute, and item properties such as 'title', 'placeholder', 'id', 'attribute' and 'event' are added unescaped to the generated element's attribute string. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## References

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

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

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.
