Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-65203

CVE-2025-65203: KeePassXC-Browser XSS Vulnerability

CVE-2025-65203 is an XSS flaw in KeePassXC-Browser that allows credential theft via sandboxed documents. Attackers exploit autofill to exfiltrate stored credentials. This article covers technical details, impact, and mitigations.

Published: April 22, 2026

CVE-2025-65203 Overview

CVE-2025-65203 is a credential theft vulnerability in KeePassXC-Browser through version 1.9.9.2. The browser extension improperly autofills or prompts to fill stored credentials into documents rendered under browser-enforced Content Security Policy (CSP) directives and iframe sandbox attributes. This flaw allows attacker-controlled scripts within a sandboxed document to access populated form fields and exfiltrate sensitive credentials.

Critical Impact

Attackers can leverage this vulnerability to steal user credentials by tricking KeePassXC-Browser into autofilling passwords into malicious sandboxed iframes, enabling credential exfiltration without user awareness.

Affected Products

  • KeePassXC-Browser versions through 1.9.9.2
  • All browser platforms where KeePassXC-Browser extension is installed
  • Users with credential autofill enabled for web forms

Discovery Timeline

  • 2025-12-17 - CVE CVE-2025-65203 published to NVD
  • 2026-01-05 - Last updated in NVD database

Technical Details for CVE-2025-65203

Vulnerability Analysis

This vulnerability stems from a logic flaw in how KeePassXC-Browser handles credential autofill decisions. The extension fails to properly evaluate the security context of form fields when they reside within sandboxed iframes or documents governed by restrictive CSP directives. While browser sandboxing mechanisms are designed to isolate potentially untrusted content, the KeePassXC-Browser extension bypasses these security boundaries by autofilling credentials into forms within these restricted contexts.

The weakness is classified under CWE-352 (Cross-Site Request Forgery), as the extension performs sensitive credential operations without adequately verifying the legitimacy and security context of the requesting document. An attacker can embed a malicious sandboxed iframe on a page that mimics a legitimate login form, causing the extension to populate it with stored credentials that can then be captured by attacker-controlled JavaScript within the sandbox.

Root Cause

The root cause lies in insufficient context validation within the KeePassXC-Browser's autofill logic. The extension does not adequately check whether a form field exists within a sandboxed iframe or a document with restrictive CSP policies before populating credentials. This oversight allows the extension to fill credentials into contexts where malicious scripts may have limited browser access but can still read DOM values from form fields populated by the extension.

Attack Vector

The attack leverages the network-based attack vector, requiring user interaction. An attacker can craft a malicious webpage containing a sandboxed iframe designed to mimic a legitimate login form for a site the victim has stored credentials for. When the victim visits this page:

  1. The attacker's page includes a sandboxed iframe with a login form that matches a credential entry in the victim's KeePassXC database
  2. KeePassXC-Browser detects the form and either autofills credentials or prompts the user to fill them
  3. Once credentials are populated, attacker-controlled JavaScript within the sandboxed iframe reads the form field values
  4. The attacker exfiltrates the captured credentials through available sandbox-permitted mechanisms

The attack exploits the trust boundary between the browser's security sandbox and the password manager extension's autofill behavior. While the sandbox restricts many dangerous capabilities, it does not prevent scripts from reading form field values that the extension has populated.

Detection Methods for CVE-2025-65203

Indicators of Compromise

  • Unexpected credential autofill prompts appearing on websites with sandboxed iframes
  • Browser network logs showing credential-like data being transmitted to unknown domains
  • Unusual form submissions from sandboxed iframe contexts
  • KeePassXC-Browser activity logs showing autofill events for unfamiliar or suspicious domains

Detection Strategies

  • Monitor browser extension activity for autofill operations targeting sandboxed iframe contexts
  • Implement network monitoring to detect credential exfiltration patterns following form autofill events
  • Review browser console logs for CSP violations that may indicate exploitation attempts
  • Audit KeePassXC-Browser access logs for credential retrieval events that don't correspond to legitimate user authentication

Monitoring Recommendations

  • Enable verbose logging in KeePassXC-Browser to track all autofill operations
  • Deploy endpoint detection rules to alert on suspicious form submission patterns
  • Monitor for newly added sandboxed iframes on frequently visited websites
  • Implement web application firewalls to detect malicious iframe injection attempts

How to Mitigate CVE-2025-65203

Immediate Actions Required

  • Update KeePassXC-Browser to the latest version that includes the security fix
  • Temporarily disable automatic autofill and switch to manual credential entry until patched
  • Review recently visited websites for potential credential exposure
  • Rotate credentials for sensitive accounts that may have been exposed
  • Enable KeePassXC-Browser's domain matching strictness settings

Patch Information

The KeePassXC development team has addressed this vulnerability through a pull request on GitHub. Users should update their KeePassXC-Browser extension to the latest available version that incorporates this fix. The patch implements proper security context validation to prevent credential autofill into sandboxed iframes and documents with restrictive CSP policies.

For technical details about the vulnerability discovery, refer to the GitHub issue discussion.

Workarounds

  • Disable automatic credential autofill in KeePassXC-Browser settings and use manual copy-paste for credentials
  • Configure KeePassXC-Browser to require explicit user confirmation before any autofill operation
  • Use site-specific settings to restrict autofill to known, trusted domains only
  • Consider temporarily disabling the extension on untrusted websites until the update is applied
bash
# Configuration recommendations for KeePassXC-Browser
# Access extension settings and apply these configurations:

# 1. Disable automatic autofill (require manual trigger)
# Settings > General > Uncheck "Automatically fill in credentials"

# 2. Enable strict domain matching
# Settings > Advanced > Check "Match URL strictly"

# 3. Require user interaction for all operations
# Settings > General > Check "Require prompt before filling credentials"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechKeepassxc

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • GitHub Issue Discussion
  • Vendor Resources
  • GitHub Pull Request
  • Related CVEs
  • CVE-2026-4158: KeePassXC Privilege Escalation Vulnerability

  • CVE-2023-35866: KeePassXC Auth Bypass Vulnerability
Default Legacy - Prefooter | 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