Skip to main content
Vulnerability Database/CVE-2025-10168

CVE-2025-10168: Any News Ticker WordPress XSS Vulnerability

CVE-2025-10168 is a stored XSS flaw in the Any News Ticker WordPress plugin that lets authenticated attackers inject malicious scripts. This article covers the technical details, affected versions, and steps to secure your site.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-10168 Overview

CVE-2025-10168 is a Stored Cross-Site Scripting (XSS) vulnerability in the Any News Ticker plugin for WordPress. The flaw affects all versions up to and including 3.1.1. It originates in the plugin's any-ticker shortcode, which fails to sanitize user-supplied attributes or escape them on output. Authenticated users with contributor-level access or higher can inject arbitrary web scripts into pages. The injected payloads execute in the browser of any visitor who views the affected page. The issue is tracked under CWE-79.

Critical Impact

Contributor-level attackers can persist JavaScript into WordPress pages, enabling session theft, administrative action forgery, and visitor-side redirection.

Affected Products

  • Any News Ticker plugin for WordPress — all versions through 3.1.1
  • WordPress sites allowing contributor-level user registration or submissions
  • WordPress environments permitting shortcode usage in post content

Discovery Timeline

  • 2025-09-30 - CVE-2025-10168 published to NVD
  • 2026-10-09 - Last updated in NVD database

Technical Details for CVE-2025-10168

Vulnerability Analysis

The vulnerability is a Stored XSS flaw in the any-ticker shortcode handler defined in src/ticker-main.php. The plugin accepts attributes passed to the shortcode and renders them directly into the page markup. Because the plugin omits both input sanitization and output escaping, attacker-controlled attribute values are reflected into the DOM as executable content.

Any WordPress user with contributor privileges or higher can insert the shortcode into a post or page. When an administrator previews, approves, or publishes the content, or when any visitor loads the final page, the injected JavaScript executes in that user's browser session.

The stored nature of the flaw means a single injection persists until the content is removed. The scope change in the CVSS vector reflects that script execution occurs in the browser trust context of visitors, not just the plugin itself.

Root Cause

The any-ticker shortcode processes caller-supplied attributes without applying WordPress sanitization helpers such as sanitize_text_field(), wp_kses(), or esc_attr(). The attribute values are concatenated into HTML markup emitted by the shortcode. See the plugin source at ticker-main.php line 66 for the vulnerable rendering path.

Attack Vector

Exploitation requires an authenticated session with at least contributor-level capabilities. The attacker authors a post containing the any-ticker shortcode with a malicious attribute value, for example an attribute containing an onerror handler or inline script. When the post is rendered, the browser parses the attacker payload as HTML and executes the embedded JavaScript. No user interaction beyond visiting the page is required for payload execution.

Technical details are described in prose rather than code; see the Wordfence Vulnerability Report for the vendor advisory.

Detection Methods for CVE-2025-10168

Indicators of Compromise

  • WordPress posts or pages containing [any-ticker ...] shortcodes with attribute values that include <script>, javascript:, onerror=, onload=, or encoded script syntax.
  • Unexpected outbound requests from visitor browsers to attacker-controlled domains after loading pages that render the ticker.
  • New or modified posts authored by contributor-level accounts that contain the any-ticker shortcode.

Detection Strategies

  • Query the WordPress wp_posts table for post_content values matching the any-ticker shortcode and inspect attribute values for HTML or script syntax.
  • Review web server access logs for anomalous requests originating from pages that embed the ticker shortcode.
  • Audit the wp_users and wp_usermeta tables for recently created contributor-level accounts correlated with new content submissions.

Monitoring Recommendations

  • Enable WordPress audit logging to track post creation, modification, and shortcode usage by non-administrator roles.
  • Deploy a Web Application Firewall (WAF) rule set that inspects stored content for script-injection patterns inside shortcode attributes.
  • Monitor Content Security Policy (CSP) violation reports to identify in-browser execution of injected scripts.

How to Mitigate CVE-2025-10168

Immediate Actions Required

  • Deactivate the Any News Ticker plugin on all WordPress installations running version 3.1.1 or earlier until a patched release is confirmed.
  • Review all posts and pages for the any-ticker shortcode and remove any entries with suspicious attribute content.
  • Restrict contributor-level account creation and audit existing low-privilege accounts for unexpected activity.

Patch Information

At the time of NVD publication, the vulnerability affects all versions up to and including 3.1.1. Monitor the Any News Ticker plugin page on WordPress.org and the Wordfence advisory for a fixed release and apply it immediately when available.

Workarounds

  • Remove or disable the plugin until a vendor patch is published.
  • Restrict shortcode usage by applying a WordPress filter that strips the any-ticker shortcode from content submitted by non-administrator roles.
  • Enforce a strict Content Security Policy that blocks inline scripts and unknown external script sources to limit the impact of injected payloads.
  • Elevate the capability required to publish posts, requiring editor or administrator review before content containing shortcodes is published.
bash
# Temporarily disable the plugin via WP-CLI
wp plugin deactivate any-news-ticker

# Search post content for the vulnerable shortcode
wp db query "SELECT ID, post_title FROM wp_posts WHERE post_content LIKE '%[any-ticker%';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.