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[\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.
Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.
CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.