CVE-2025-14340 Admin Account Takeover via malicious URL payload
An attacker can use a malicious URL to trick administrators into changing their password, leading to account takeover in Payara Server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-14340?
CVE-2025-14340 is a high-severity cross-site scripting vulnerability in Payara Server, published on 18 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Cross-site scripting in REST Management Interface in Payara Server <4.1.2.191.54, <5.83.0, <6.34.0, <7.2026.1 allows an attacker to mislead the administrator to change the admin password via URL Payload.
Weakness: CWE-79
Which versions are affected by CVE-2025-14340?
How do I fix CVE-2025-14340?
No fix has been published for CVE-2025-14340 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-14340 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14340 exists.
Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-rgjw-pqcr-56gf.