CVE-2026-120542: Enfold <= 8.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
The theme for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (via wp-admin/post.php addmeta → postmeta key 'myfield')' parameter in all versions up to, and including, 8.3 due to insufficient input sanitization and output escaping. 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. A Contributor can store a raw script payload in a custom field on their own draft and cause it to execute in an administrator's or editor's authenticated browser session when they preview or publish the post.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated WordPress user with Contributor-level access or higher can exploit it. The attacker can place a script payload in a custom field on their own draft post.
When does the injected script run, and who is at risk?
The script executes when someone accesses the injected page. An administrator or editor is specifically at risk if they preview or publish the contributor's affected post while authenticated.
Are sites using Enfold 8.3 affected?
Yes. The issue affects Enfold versions up to and including 8.3.
How can I check for possible exploitation?
Review custom-field data on contributor-created drafts, particularly the post_meta key "my_field", for unexpected script content or suspicious HTML. Prioritize drafts that administrators or editors may have previewed or published.