CVE-2025-14340
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedCross-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCross-site scripting (XSS) vulnerability in the REST Management Interface of Payara Server allows attackers to craft malicious URLs that can mislead administrators into changing their admin password. The vulnerability is self-XSS in nature, requiring the administrator to click a specially crafted link.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- Authentication
- None
- User interaction
- A
- Scope
- P
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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Payara Server installation and versionLocate the Payara Server installation directory. Check the version by inspecting the 'payara-version.txt' or 'glassfish/lib/appserv-rt.jar' manifest file, or run: asadmin versionAffected if Installed version is 4.1.2.191.53 or earlier, 5.82.x or earlier, 6.33.x or earlier, or 7.2025.x or earlier (i.e., not 4.1.2.191.54, 5.83.0, 6.34.0, or 7.2026.1 and later)
-
Verify REST Management Interface is accessibleCheck if the REST Management Interface is enabled by inspecting the domain.xml configuration file in the domain's config directory. Look for the 'management-server' or REST endpoint configuration, or attempt to access the endpoint at /management/domain (e.g., curl -k https://localhost:4848/management/domain)Affected if The REST Management Interface is enabled and reachable on the network (even localhost)
-
Confirm admin user has access to management interfaceVerify that the admin user exists and can access the management interface. Check admin user configuration in the realm files (typically in domain.xml or keyfile). The XSS requires an authenticated admin session.Affected if An admin user account is configured and can log into the management interface
You are affected if Payara Server is installed with a version prior to 4.1.2.191.54/5.83.0/6.34.0/7.2026.1 AND the REST Management Interface is enabled and accessible to the admin user.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Payara Server to version 4.1.2.191.54, 5.83.0, 6.34.0, or 7.2026.1 or later. Administrators should avoid clicking untrusted links to the management interface.
Payara Server 4.1.2.191.54 / 5.83.0 / 6.34.0 / 7.2026.1 (depending on your current branch)
- Identify your current Payara Server version by checking the administration console or server logs
- Download the appropriate fixed version based on your current branch: 4.1.2.191.54+, 5.83.0+, 6.34.0+, or 7.2026.1+
- Back up your current Payara Server configuration, domain.xml, and any deployed applications
- Stop the Payara Server instance
- Install the new version in a separate directory or replace the existing installation
- Restore your configuration from the backup (or migrate manually if needed)
- Start the Payara Server and verify the REST Management Interface is accessible
- Test that the XSS vulnerability is no longer exploitable via the REST Management Interface URL
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-14340 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-14340 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data