Vulnerabilities / Meta Field Block / WPSEC-2026-4280

Meta Field Block <= 1.6.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via iframe 'srcdoc' Attribute in Field Values

Medium 6.4 CWE-79Fixed in 1.6.3
ID
WPSEC-2026-4280
Plugin
Meta Field Block – Display Custom Fields for ACF, Meta Box and More (display-a-meta-field-as-block)
Affected
all versions before 1.6.3
Remediation
Update to 1.6.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-01
Attack surface
Meta Field Block on WPSec AttackSurface
Fix released
Published

Description

The Meta Field Block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via displayed custom field values in all versions up to, and including, 1.6.2. This is due to the plugin's KSES allowlist permitting the 'srcdoc' attribute on iframe elements. HTML-entity-encoded markup in 'srcdoc' passes the filter and runs as script in the site's origin. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts into a custom field of their own post. When the field is displayed through the block, the scripts run whenever a user accesses the injected page.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0