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-14340

CVE-2025-14340: Payara Server XSS Vulnerability

CVE-2025-14340 is a cross-site scripting flaw in Payara Server's REST Management Interface that allows attackers to mislead admins into changing passwords. This post covers technical details, affected versions, and fixes.

Published: February 20, 2026

CVE-2025-14340 Overview

CVE-2025-14340 is a Cross-Site Scripting (XSS) vulnerability affecting the REST Management Interface in Payara Server. This security flaw allows an attacker to inject malicious scripts that can mislead administrators into changing the admin password via a crafted URL payload. The vulnerability impacts multiple versions of Payara Server across different release branches.

Critical Impact

Attackers can exploit this XSS vulnerability to trick administrators into performing unintended actions, including changing admin credentials, potentially leading to complete compromise of the application server.

Affected Products

  • Payara Server versions prior to 4.1.2.191.54
  • Payara Server versions prior to 5.83.0
  • Payara Server versions prior to 6.34.0
  • Payara Server versions prior to 7.2026.1

Discovery Timeline

  • 2026-02-18 - CVE-2025-14340 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2025-14340

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting (XSS). The flaw exists within the REST Management Interface of Payara Server, which is used by administrators to manage and configure the application server.

The vulnerability allows attackers to craft malicious URLs containing JavaScript payloads that are not properly sanitized by the REST Management Interface. When an administrator clicks on such a URL, the malicious script executes within the context of their authenticated session. This is particularly dangerous because Payara Server's management interface handles sensitive administrative functions, including password management.

The attack requires user interaction from an administrator with active access to the management interface, making it a targeted social engineering attack vector combined with a technical vulnerability.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and output encoding within the REST Management Interface. The application fails to properly sanitize user-supplied input before reflecting it back in the web page, allowing malicious JavaScript code to be injected and executed in the victim's browser.

Specifically, URL parameters passed to the REST Management Interface are not properly escaped or encoded, enabling attackers to inject script tags or event handlers that execute when the page is rendered. This represents a Reflected XSS vulnerability pattern.

Attack Vector

The attack vector for CVE-2025-14340 is network-based and requires the following conditions:

  1. The attacker must craft a malicious URL containing an XSS payload targeting the REST Management Interface
  2. The attacker must convince an authenticated administrator to click the malicious link (via phishing, social engineering, or embedding in a compromised website)
  3. When the administrator visits the malicious URL, the injected script executes within their browser session
  4. The script can then perform administrative actions on behalf of the victim, including changing the admin password

The vulnerability mechanism involves injecting JavaScript through URL parameters that the REST Management Interface processes and renders without proper sanitization. The malicious script executes with the same privileges as the administrator's session, enabling credential theft or modification. For technical details, refer to the Payara Security Fix List.

Detection Methods for CVE-2025-14340

Indicators of Compromise

  • Unusual or unexpected HTTP requests to the REST Management Interface containing script tags or encoded JavaScript
  • Admin password change events that were not initiated by authorized personnel
  • Access logs showing suspicious URL patterns with encoded characters or script payloads targeting management endpoints

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect and block XSS payloads in URL parameters
  • Monitor access logs for the REST Management Interface for patterns indicative of XSS attempts (e.g., <script>, javascript:, event handlers)
  • Enable detailed logging on the Payara Server management interface to capture all administrative actions
  • Deploy browser-based XSS protection headers and Content Security Policy (CSP)

Monitoring Recommendations

  • Configure alerts for any admin credential changes to verify legitimacy
  • Monitor for anomalous access patterns to the REST Management Interface, particularly from unusual IP addresses or at unusual times
  • Implement session monitoring to detect potential session hijacking following XSS exploitation
  • Review admin access logs regularly for unauthorized configuration changes

How to Mitigate CVE-2025-14340

Immediate Actions Required

  • Upgrade Payara Server to a patched version: 4.1.2.191.54 or later, 5.83.0 or later, 6.34.0 or later, or 7.2026.1 or later depending on your release branch
  • Restrict access to the REST Management Interface to trusted networks only
  • Educate administrators about phishing risks and the importance of not clicking on suspicious links
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact

Patch Information

Payara has released patched versions addressing this vulnerability across all affected release branches. Organizations should upgrade to the following minimum versions:

BranchMinimum Patched Version
4.x4.1.2.191.54
5.x5.83.0
6.x6.34.0
7.x7.2026.1

For detailed patch information and security advisories, refer to the Payara Security Fix List.

Workarounds

  • If immediate patching is not possible, restrict network access to the REST Management Interface using firewall rules to allow only trusted IP addresses
  • Implement a reverse proxy with WAF capabilities in front of the management interface to filter malicious requests
  • Disable the REST Management Interface if not actively required, and use alternative management methods
  • Use network segmentation to isolate the management interface from untrusted networks
bash
# Example: Restrict access to Payara admin interface via firewall (iptables)
# Replace 192.168.1.0/24 with your trusted admin network
iptables -A INPUT -p tcp --dport 4848 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 4848 -j DROP

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechPayara Server

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:N/R:U/V:X/RE:M/U:Red
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-79
  • Technical References
  • Payara Security Fix List
  • Related CVEs
  • CVE-2023-28462: Payara Server RCE 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