CVE-2025-49351
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-49351 is a Cross-Site Request Forgery (CSRF) vulnerability in the "Create Posts & Terms" WordPress plugin by Valentin Agachi that can be leveraged to perform Stored Cross-Site Scripting (XSS) attacks. It affects all plugin versions up to and including 1.3.1, with no official patch available at the time of disclosure. The vulnerability was reported by researcher Nguyen Xuan Chien on September 27, 2025, and published by Patchstack on October 27, 2025. It carries a CVSS v3.1 base score of 7.1 (High) (Patchstack).

Technical details

The root cause is insufficient CSRF token validation in the Create Posts & Terms plugin (CWE-352), which allows unauthenticated attackers to craft malicious requests that are executed in the context of an authenticated, higher-privileged user. The attack chain combines CSRF with Stored XSS: by tricking a privileged WordPress user (e.g., an administrator) into visiting a crafted page or clicking a malicious link, the attacker can cause the victim's browser to submit a forged request that stores a malicious script payload within the WordPress site. This stored payload then executes in the browsers of subsequent site visitors or administrators. The attack vector is network-based, requires no privileges, but does require user interaction (Patchstack).

Impact

Successful exploitation allows an attacker to store malicious JavaScript within the WordPress site, which executes in the browsers of users who subsequently visit affected pages — including administrators. This can lead to session hijacking, credential theft, unauthorized administrative actions, defacement, or further compromise of the WordPress installation. The CVSS scope is marked as "Changed," reflecting that the impact extends beyond the vulnerable component to affect other users and potentially the broader site environment (Patchstack).

Exploitability

No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-49351. The EPSS score is extremely low at approximately 0.008%, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack classifies this as low priority, noting it is unlikely to be exploited, though they note that CSRF vulnerabilities of this class are sometimes used in mass-exploit campaigns targeting WordPress plugins at scale (Patchstack).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the "Create Posts & Terms" plugin at version 1.3.1 or earlier, using tools like WPScan or Shodan.
  2. Craft malicious request: Construct a forged HTTP request targeting the plugin's vulnerable action endpoint (e.g., a form submission that creates posts or terms), embedding a malicious JavaScript payload in a relevant field (e.g., post title, term name, or description).
  3. Deliver CSRF payload: Host the forged request in a malicious HTML page (e.g., an auto-submitting form) and socially engineer a privileged WordPress user (administrator or editor) into visiting the attacker-controlled page.
  4. Stored XSS triggered: The victim's browser submits the forged request under their authenticated session, causing the malicious script to be stored in the WordPress database via the plugin's functionality.
  5. Payload execution: When any user or administrator visits the affected page containing the stored payload, the malicious JavaScript executes in their browser, enabling session token theft, credential harvesting, or further unauthorized actions (Patchstack).

Indicators of compromise

  • Logs: WordPress access logs showing unexpected POST requests to plugin-related admin endpoints (e.g., wp-admin/admin-post.php or wp-admin/admin-ajax.php) from unusual referrer origins or with no valid nonce/CSRF token.
  • Database: Unexpected or obfuscated JavaScript content (e.g., <script>, eval(), document.cookie) stored in post titles, term names, or descriptions created via the Create Posts & Terms plugin.
  • Network: Outbound requests from victim browsers to attacker-controlled domains following page visits to affected WordPress content, potentially carrying session cookies or credentials.
  • File System: No direct file system artifacts expected, as the payload is stored in the database; however, monitor for new or modified plugin files in wp-content/plugins/create-posts-terms/.

Mitigation and workarounds

As of the time of disclosure, no official patch has been released for the Create Posts & Terms plugin. The primary recommended action is to deactivate and remove the plugin until a patched version becomes available. Site administrators should also implement a Web Application Firewall (WAF) rule to block CSRF-based attacks targeting the plugin's endpoints. Patchstack users can leverage virtual patching to mitigate the vulnerability without removing the plugin (Patchstack).

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-92541HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-92540HIGH7.2
  • import-users-from-csv-with-meta
NoYesSep 20, 2026
CVE-2026-86785MEDIUM5.3
  • woo-to-facebook-shop
NoNoSep 20, 2026
CVE-2026-92965LOW3.7
  • tiktok-for-business
NoYesSep 20, 2026
CVE-2026-92423LOW2.7
  • meow-gallery
NoYesSep 20, 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