# Meta Box – A Framework for Dynamic Websites <= 5.15.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Map Field Info Window

- **ID:** WPSEC-2026-4223
- **Plugin:** Meta Box – A Framework for Dynamic Websites (`meta-box`), https://wordpress.org/plugins/meta-box/
- **Affected versions:** all versions before 5.15.6
- **Fixed in:** 5.15.6 (Update to 5.15.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 Low (as of 2026-11-29)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/meta-box
- **Fix released:** 2026-11-28
- **Published:** 2026-11-29
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4223/

## Description

The Meta Box – A Framework for Dynamic Websites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'info_window' attribute of the [rwmb_meta] shortcode for Google Maps and OpenStreetMap fields in all versions up to, and including, 5.15.5, due to the map options being JSON-encoded and then passed through esc_attr(), which does not re-encode existing HTML entities. Entity-encoded markup gets past wp_kses_post(), the browser decodes it in the data attribute, and Google Maps or Leaflet renders it as HTML in the info window. 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-4223/
- https://plugins.svn.wordpress.org/meta-box/tags/5.15.6/
- https://wordpress.org/plugins/meta-box/

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

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.
