Description
The TP2WP Importer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Watched domains' textarea on the attachment importer settings page in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping when domains are saved via AJAX and rendered with echo implode() without esc_textarea(). This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the attachment importer settings page.
Published: 2026-02-26
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS) affecting administrator users
Action: Patch
AI Analysis

Impact

The TP2WP Importer plugin for WordPress is vulnerable to stored cross‑site scripting via the ‘Watched domains’ textarea on the attachment importer settings page. The flaw originates from missing input sanitization and output escaping when user‑supplied domains are saved via AJAX and later rendered with echo implode() without the appropriate esc_textarea() call. This allows an attacker with Administrator‑level privileges to inject arbitrary JavaScript, which will execute for anyone who navigates to the settings page. The impact is that compromised administrators can alter page content, steal credentials or redirect users, enabling further exploitation. The weakness corresponds to CWE‑79.

Affected Systems

The affected product is the TP2WP Importer plugin from readymadeweb. All released versions up to and including 1.1 are vulnerable; any site running the plugin on those versions is at risk.

Risk and Exploitability

The CVSS score of 4.4 indicates a moderate severity. The EPSS score of less than 1% reflects a very low probability of exploitation at the time of analysis, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector requires the attacker to have authenticated access with Administrator‑level or higher privileges. Once authenticated, the attacker can persist malicious script in a textarea that will run in the browser of any user who views the settings page, potentially leading to credential compromise or defacement.

Generated by OpenCVE AI on April 15, 2026 at 20:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade TP2WP Importer to the latest released version that includes the input sanitization fix (versions greater than 1.1).
  • If an upgrade is not yet available, restrict Administrator access to trusted users only and review active roles to prevent unauthorized modifications of plugin settings.
  • Implement a strict Content Security Policy (CSP) that blocks inline scripts and restricts script sources to whitelisted domains, mitigating the effect of any stored XSS payload.

Generated by OpenCVE AI on April 15, 2026 at 20:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 26 Feb 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 26 Feb 2026 13:30:00 +0000

Type Values Removed Values Added
First Time appeared Readymadeweb
Readymadeweb tp2wp Importer
Wordpress
Wordpress wordpress
Vendors & Products Readymadeweb
Readymadeweb tp2wp Importer
Wordpress
Wordpress wordpress

Thu, 26 Feb 2026 02:15:00 +0000

Type Values Removed Values Added
Description The TP2WP Importer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Watched domains' textarea on the attachment importer settings page in all versions up to, and including, 1.1. This is due to insufficient input sanitization and output escaping when domains are saved via AJAX and rendered with echo implode() without esc_textarea(). This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the attachment importer settings page.
Title TP2WP Importer <= 1.1 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Watched domains' Textarea
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Readymadeweb Tp2wp Importer
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:51:49.148Z

Reserved: 2026-02-13T21:05:22.465Z

Link: CVE-2026-2489

cve-icon Vulnrichment

Updated: 2026-02-26T15:29:09.884Z

cve-icon NVD

Status : Deferred

Published: 2026-02-26T02:16:24.890

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2489

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T20:15:13Z

Weaknesses