CVE-2026-127136
Description
The Nelio Content – Editorial Calendar & Social Media Auto-Posting plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'values' parameter in versions up to, and including, 5.0.1. This is due to the /nelio-content/v1/post/(?P<id>[\d]+)/items REST route registering the 'values' argument with no sanitize_callback, storing values['efiUrl'] raw to the _nelioefi_url post-meta via update_post_meta(), and then interpolating that stored value into a style attribute via generate_style_tag() with no esc_attr/esc_url before splicing it into the img tag emitted by the_post_thumbnail(). 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://downloads.wordpress.org/plugin/nelio-content.5.0.2.zip
- https://plugins.trac.wordpress.org/browser/nelio-content/tags/5.0.1/admin/editors/class-nelio-content-gutenberg.php#L93
- https://plugins.trac.wordpress.org/browser/nelio-content/tags/5.0.1/includes/helpers/class-nelio-content-external-featured-image-helper.php#L58
- https://plugins.trac.wordpress.org/browser/nelio-content/tags/5.0.1/includes/rest/class-nelio-content-post-rest-controller.php#L1183
- https://plugins.trac.wordpress.org/browser/nelio-content/tags/5.0.1/public/class-nelio-content-external-featured-image-public.php#L282