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

CVE-2025-26950: Nepali Date Converter Stored XSS Vulnerability

CVE-2025-26950 is a stored XSS vulnerability in the Nepali Date Converter WordPress plugin that enables attackers to inject malicious scripts. This article covers technical details, affected versions through 2.0.8, and mitigation.

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-26950 Overview

CVE-2025-26950 is a stored cross-site scripting (XSS) vulnerability in the AddonsPress Nepali Date Converter plugin for WordPress [CWE-79]. The flaw affects all versions up to and including 2.0.8. An authenticated attacker with low privileges can inject malicious scripts that persist in the application and execute in the browsers of other users who view the affected pages.

The vulnerability stems from improper neutralization of user-supplied input during web page generation. Exploitation requires user interaction, but the scope is changed, meaning the injected payload can affect resources beyond the vulnerable component itself.

Critical Impact

Authenticated attackers can inject persistent JavaScript into WordPress pages, enabling session theft, administrative action hijacking, and client-side redirection of site visitors.

Affected Products

  • AddonsPress Nepali Date Converter WordPress plugin
  • All versions from n/a through 2.0.8
  • WordPress sites with the nepali-date-converter plugin installed and activated

Discovery Timeline

  • 2025-04-15 - CVE-2025-26950 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-26950

Vulnerability Analysis

The Nepali Date Converter plugin fails to sanitize and escape user-controlled input before storing it and rendering it back in the WordPress interface. This classic stored XSS pattern allows an attacker with contributor-level or similar authenticated access to persist malicious payloads in the database.

When another user, including an administrator, loads a page containing the stored input, the browser executes the injected JavaScript in the context of the WordPress site. The attack vector is network-based with low complexity and requires user interaction to trigger the payload.

Root Cause

The root cause is missing or inadequate output encoding on fields exposed by the plugin. WordPress provides built-in functions such as esc_html(), esc_attr(), and wp_kses_post() for context-aware escaping. The affected plugin versions do not apply these controls consistently when rendering stored content back into page output.

Attack Vector

An authenticated attacker submits a crafted payload containing HTML or JavaScript through a plugin-exposed input field. The payload is stored in the WordPress database without proper neutralization. When any user with access to the affected page or admin area views the content, the browser parses and executes the attacker's script.

See the Patchstack XSS Vulnerability Advisory for additional technical context.

Detection Methods for CVE-2025-26950

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or event handlers (onerror, onload) stored in WordPress post metadata or plugin options
  • Outbound requests from administrator browser sessions to unfamiliar domains following access to pages containing plugin-rendered content
  • Creation of new administrator accounts or unexpected changes to WordPress options shortly after a low-privileged user interacts with the plugin

Detection Strategies

  • Audit wp_posts, wp_postmeta, and plugin-specific tables for HTML or JavaScript content submitted through Nepali Date Converter input fields
  • Deploy a web application firewall rule set that identifies common XSS payload patterns targeting WordPress plugin endpoints
  • Review WordPress access logs for POST requests to plugin AJAX actions or admin pages originating from contributor or author accounts

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to capture script execution attempts that violate expected policy
  • Monitor authenticated session activity for anomalous administrative actions following plugin page visits
  • Alert on modifications to privileged WordPress user accounts and wp_options entries such as siteurl and home

How to Mitigate CVE-2025-26950

Immediate Actions Required

  • Deactivate the Nepali Date Converter plugin until a patched release is confirmed available from the vendor
  • Review all content submitted through plugin input fields and purge any entries containing script tags or event handler attributes
  • Rotate credentials and session tokens for administrator accounts that may have viewed malicious payloads

Patch Information

At the time of publication, the advisory indicates the vulnerability affects all versions through 2.0.8 with no fixed version listed. Monitor the Patchstack advisory and the WordPress plugin repository for an updated release addressing CVE-2025-26950.

Workarounds

  • Remove the plugin entirely from production sites if the Nepali date conversion functionality is non-essential
  • Restrict access to plugin input functionality using capability checks or role-based access controls at the WordPress level
  • Deploy a WAF with virtual patching for CVE-2025-26950 to block exploitation attempts targeting the vulnerable plugin endpoints
  • Enforce a strict Content Security Policy that disallows inline scripts and limits script sources to trusted origins
bash
# Disable the vulnerable plugin via WP-CLI
wp plugin deactivate nepali-date-converter
wp plugin delete nepali-date-converter

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.