Skip to main content
Vulnerability Database/CVE-2025-26962

CVE-2025-26962: Easy Contact Form Lite XSS Vulnerability

CVE-2025-26962 is a stored cross-site scripting flaw in GhozyLab Easy Contact Form Lite plugin that allows attackers to inject malicious scripts. This post explains its impact, versions through 1.1.25, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-26962 Overview

CVE-2025-26962 is a stored cross-site scripting (XSS) vulnerability in the GhozyLab Easy Contact Form Lite plugin for WordPress. The flaw affects the contact-form-lite plugin in all versions up to and including 1.1.25. The plugin fails to properly neutralize user-supplied input during web page generation, allowing attackers to inject persistent malicious scripts. The vulnerability is classified under CWE-79 and requires low-privileged authentication combined with victim interaction to trigger execution.

Critical Impact

Authenticated attackers can inject persistent JavaScript that executes in the browser context of site administrators and visitors, enabling session theft, credential harvesting, and administrative account takeover.

Affected Products

  • GhozyLab Easy Contact Form Lite (contact-form-lite) plugin for WordPress
  • All versions from n/a through 1.1.25
  • WordPress installations using the vulnerable plugin

Discovery Timeline

  • 2025-02-25 - CVE-2025-26962 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-26962

Vulnerability Analysis

The vulnerability stems from improper neutralization of input during web page generation in the Easy Contact Form Lite plugin. User-controlled input is stored on the server and later rendered in HTML output without adequate sanitization or output encoding. This creates a stored XSS condition where injected script payloads persist across sessions and execute automatically when other users view the affected pages.

The attack requires low-level authentication but crosses a security boundary, meaning payloads injected by low-privileged users can execute in the context of higher-privileged accounts such as WordPress administrators. Successful exploitation can lead to session cookie theft, forced administrative actions via forged requests, and delivery of secondary payloads to site visitors.

Root Cause

The root cause is missing or insufficient output encoding when rendering contact form data submitted or configured through the plugin. WordPress provides sanitization APIs such as esc_html(), esc_attr(), and wp_kses(), but the plugin did not apply appropriate escaping before echoing stored values into HTML contexts. This allows raw <script> tags and event handler attributes to be persisted and later interpreted by the browser.

Attack Vector

An authenticated attacker with low privileges submits crafted input containing JavaScript payloads through a vector accepted by the plugin. The malicious content is stored in the WordPress database. When an administrator or site visitor loads the page rendering that content, the browser executes the attacker-controlled script. Refer to the Patchstack Vulnerability Report for additional technical context.

Detection Methods for CVE-2025-26962

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or event handler attributes (onerror, onload) in WordPress database tables associated with contact form submissions
  • Outbound requests from administrator browser sessions to unfamiliar external domains shortly after viewing plugin-managed pages
  • New administrative users, modified user roles, or unauthorized plugin installations following administrator page visits
  • Anomalous cookie or session token access patterns in web server logs

Detection Strategies

  • Audit stored contact form entries and plugin configuration values for HTML and JavaScript content that should not contain markup
  • Deploy a web application firewall with rules to identify XSS payload patterns in POST requests to contact-form-lite endpoints
  • Monitor WordPress wp-admin access logs for sessions that immediately trigger outbound HTTP requests to external hosts

Monitoring Recommendations

  • Enable WordPress audit logging to track plugin data modifications and administrative actions
  • Implement Content Security Policy (CSP) headers to identify and block inline script execution
  • Alert on creation of new administrator accounts or changes to existing user capabilities

How to Mitigate CVE-2025-26962

Immediate Actions Required

  • Identify all WordPress installations running the Easy Contact Form Lite plugin at version 1.1.25 or earlier
  • Deactivate the plugin until a patched version is confirmed installed
  • Review stored contact form submissions and plugin settings for injected payloads and remove malicious content
  • Rotate administrator credentials and invalidate active sessions on affected sites

Patch Information

At the time of this writing, consult the Patchstack advisory for the latest vendor patch status. Upgrade to a version later than 1.1.25 once released by GhozyLab through the WordPress plugin repository.

Workarounds

  • Deactivate and remove the contact-form-lite plugin and replace it with a maintained alternative if no patch is available
  • Restrict plugin form access to trusted, authenticated users only through role and capability controls
  • Deploy a WAF with XSS filtering rules in front of the WordPress site to block payload delivery
  • Enforce a strict Content Security Policy that disallows inline scripts to reduce exploit impact

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.