The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25956

CVE-2026-25956: Frappe Framework XSS Vulnerability

CVE-2026-25956 is a reflected XSS flaw in Frappe Framework that allows attackers to craft malicious signup URLs leading to open redirects or XSS attacks. This article covers technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-25956 Overview

CVE-2026-25956 is an open redirect and reflected Cross-Site Scripting (XSS) vulnerability affecting the Frappe full-stack web application framework. Prior to versions 14.99.14 and 15.94.0, an attacker could craft a malicious signup URL for a Frappe site that leads to an open redirect or reflected XSS when a user signs up, depending on the crafted payload. This vulnerability arises from insufficient sanitization of the redirect URL parameter during the signup process.

Critical Impact

Attackers can exploit this vulnerability to redirect users to malicious websites or execute arbitrary JavaScript in the context of the victim's browser session, potentially leading to credential theft, session hijacking, or phishing attacks.

Affected Products

  • Frappe Framework versions prior to 14.99.14
  • Frappe Framework versions prior to 15.94.0
  • Applications built on vulnerable Frappe Framework versions

Discovery Timeline

  • 2026-02-10 - CVE-2026-25956 published to NVD
  • 2026-02-10 - Last updated in NVD database

Technical Details for CVE-2026-25956

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The vulnerability exists in the user signup functionality of the Frappe framework, where the redirect URL parameter was not properly sanitized before being used.

When a user registers through a signup URL containing a malicious redirect parameter, the framework would process this parameter without adequate validation. This allows an attacker to inject arbitrary redirect destinations or JavaScript code that executes when the signup process completes. The attack requires user interaction—specifically, the victim must click on the malicious signup link and complete the registration process.

The scope is changed (S:C in CVSS terms), meaning the vulnerable component (the Frappe framework) and the impacted component (the user's browser or another domain) are different, which can amplify the impact of successful exploitation.

Root Cause

The root cause of this vulnerability is the lack of proper sanitization for the redirect URL parameter in the signup workflow. The sign_up function in frappe/core/doctype/user/user.py did not validate or sanitize redirect URLs before using them, allowing attackers to specify arbitrary redirect destinations including JavaScript URI schemes for XSS attacks.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker crafts a malicious signup URL containing a specially crafted redirect parameter. When shared with potential victims (via email, social media, or other means), users who click the link and complete the signup process are redirected to an attacker-controlled destination or have malicious JavaScript executed in their browser context.

Attack scenarios include:

  • Open Redirect: Redirecting users to phishing sites that mimic the legitimate application to steal credentials
  • Reflected XSS: Executing JavaScript to steal session tokens, perform actions on behalf of the user, or deface the application interface
python
# Security patch showing the fix - sanitize_redirect import added
# Source: https://github.com/frappe/frappe/commit/22cac9dd240dc1fa00d4bab7e3887b70faf22bd1

 from frappe.utils.password import update_password as _update_password
 from frappe.utils.user import get_system_managers
 from frappe.website.utils import get_home_page, is_signup_disabled
+from frappe.www.login import sanitize_redirect
 
 desk_properties = (
 	"search_bar",

The patch imports the sanitize_redirect function from the login module and applies it to validate redirect URLs during the signup process, preventing malicious redirects and XSS payloads.

Detection Methods for CVE-2026-25956

Indicators of Compromise

  • Unusual signup URLs containing external domains or JavaScript URI schemes in redirect parameters
  • Web server logs showing signup requests with encoded payloads in query parameters
  • Reports from users being redirected to unexpected websites after registration
  • Browser console errors indicating blocked or attempted XSS execution

Detection Strategies

  • Monitor web application logs for signup requests containing suspicious redirect parameters such as javascript:, data:, or external domain URLs
  • Implement Content Security Policy (CSP) headers to detect and block XSS attempts
  • Use Web Application Firewall (WAF) rules to flag requests with common XSS patterns in URL parameters
  • Review authentication and registration flow logs for anomalous redirect patterns

Monitoring Recommendations

  • Enable verbose logging for the Frappe framework's authentication and signup modules
  • Set up alerts for HTTP requests to signup endpoints containing encoded characters or external URLs
  • Monitor for CSP violation reports that may indicate XSS exploitation attempts
  • Track user-reported phishing or redirect issues that may indicate active exploitation

How to Mitigate CVE-2026-25956

Immediate Actions Required

  • Upgrade Frappe Framework to version 14.99.14 or later for the 14.x branch
  • Upgrade Frappe Framework to version 15.94.0 or later for the 15.x branch
  • Review web server logs for any evidence of exploitation attempts
  • Notify users if suspicious signup activity has been detected

Patch Information

The vulnerability is fixed in Frappe Framework versions 14.99.14 and 15.94.0. The fix implements proper sanitization of redirect URLs during the signup process by utilizing the existing sanitize_redirect function from the login module. For detailed patch information, refer to the GitHub Commit and the GitHub Security Advisory GHSA-7m8v-g2pr-h2f7.

Workarounds

  • Implement a Web Application Firewall (WAF) rule to block requests containing JavaScript URI schemes or external domains in signup redirect parameters
  • Add Content Security Policy headers to prevent inline script execution as a defense-in-depth measure
  • Consider temporarily disabling user self-registration until the patch can be applied
  • Implement server-side URL validation using an allowlist of permitted redirect destinations
bash
# Example nginx configuration to block suspicious redirect parameters
location /api/method/frappe.core.doctype.user.user.sign_up {
    # Block requests with javascript: or external URLs in redirect parameter
    if ($query_string ~* "redirect.*(javascript:|https?://[^/]*[^.]+\.[^.]+)") {
        return 403;
    }
    proxy_pass http://frappe_backend;
}

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechFrappe

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-7m8v-g2pr-h2f7
  • Related CVEs
  • CVE-2026-31879: Frappe Framework Stored XSS Vulnerability

  • CVE-2026-28436: Frappe Framework XSS Vulnerability

  • CVE-2026-32954: Frappe ERPNext SQL Injection Vulnerability

  • CVE-2026-31877: Frappe Framework SQL Injection Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English