CVE-2026-8872
Deferred Deferred - Pending Action
Stored XSS in Animate Your Content WordPress Plugin

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

Description
The Animate Your Content plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'animation-set' shortcode in versions up to, and including, 1.0.0. This is due to insufficient input sanitization and output escaping on user supplied attributes in the shortcode_args_to_html_attrs() function, which concatenates shortcode attribute values directly into double-quoted HTML attributes without calling esc_attr(). 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
animate_your_content plugin to 1.0.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Animate Your Content plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in its 'animation-set' shortcode in versions up to and including 1.0.0.

This vulnerability arises because the plugin does not properly sanitize or escape user-supplied attributes in the shortcode_args_to_html_attrs() function. Specifically, it concatenates shortcode attribute values directly into double-quoted HTML attributes without using the esc_attr() function.

As a result, authenticated attackers with contributor-level access or higher can inject arbitrary web scripts into pages. These scripts will execute whenever any user accesses the injected page.

Impact Analysis

This vulnerability allows an attacker with contributor-level access or above to inject malicious scripts into WordPress pages.

When other users visit these pages, the injected scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions.

Because the attack is stored, the malicious script persists on the site and affects all users who view the compromised content.

Detection Guidance

This vulnerability involves Stored Cross-Site Scripting (XSS) via the 'animation-set' shortcode in the Animate Your Content WordPress plugin versions up to 1.0.0. Detection involves identifying if the vulnerable plugin version is installed and if any shortcode attributes are improperly sanitized.

To detect this on your system, you can check the installed plugin version and scan for usage of the 'animation-set' shortcode with suspicious or malicious attribute values.

Suggested commands to detect the vulnerable plugin and potential exploit attempts include:

  • Check the plugin version via WP-CLI: wp plugin list | grep animate-your-content
  • Search WordPress content for usage of the 'animation-set' shortcode: wp db query "SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[animation-set%'"
  • Look for suspicious script tags or event handlers in shortcode attributes within posts or pages.
  • Monitor web server logs for unusual requests or payloads targeting the shortcode parameters.
Mitigation Strategies

To mitigate this vulnerability, you should update the Animate Your Content plugin for WordPress to a version later than 1.0.0 where the issue is fixed.

If an update is not immediately available, restrict contributor-level access and above to trusted users only, as the vulnerability requires authenticated users with contributor-level access or higher to exploit.

Additionally, consider implementing web application firewall (WAF) rules to detect and block attempts to inject malicious scripts via the 'animation-set' shortcode.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8872. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart