# Table Field Add-on for ACF and SCF <= 1.5.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Table Field Value

- **ID:** WPSEC-2026-3741
- **Plugin:** Table Field Add-on for ACF and SCF (`advanced-custom-fields-table-field`), https://wordpress.org/plugins/advanced-custom-fields-table-field/
- **Affected versions:** from 1.3.0 before 1.5.3
- **Fixed in:** 1.5.3 (Update to 1.5.3 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 Medium, affected versions Low (as of 2026-11-23)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/advanced-custom-fields-table-field
- **Fix released:** 2026-11-22
- **Published:** 2026-11-23
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3741/

## Description

The Table Field Add-on for ACF and SCF plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the table field value in all versions up to, and including, 1.5.2, due to insufficient output escaping in render_field(). The stored value is printed into the value attribute of the field's hidden input without escaping, and only values beginning with '{' are URL-encoded. Any other stored string, for example one written to the field's post meta key through WordPress's Custom Fields box or XML-RPC, which Advanced Custom Fields before 6.8.11 and Secure Custom Fields before 6.9.8 allow, is output raw. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts that execute when another user, such as an editor or administrator, opens the edit screen that shows the table field.

## References

- https://wpsec.com/vuln/WPSEC-2026-3741/
- https://plugins.svn.wordpress.org/advanced-custom-fields-table-field/tags/1.5.3/
- https://wordpress.org/plugins/advanced-custom-fields-table-field/

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

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.
