Cross-site Scripting (XSS)Weakness · CWE-79

CVE-2025-14340

HIGH · 7.3 CVSS v4.0 Published 2026-02-18
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
80/100
Remediation priority · High
Remotely reachable No privileges

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 · unedited
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.

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 confidence

Cross-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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify Payara Server installation and version
    Locate 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 version
    Affected 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)
  2. Verify REST Management Interface is accessible
    Check 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)
  3. Confirm admin user has access to management interface
    Verify 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

Payara Server 4.1.2.191.54 / 5.83.0 / 6.34.0 / 7.2026.1 (depending on your current branch)

  1. Identify your current Payara Server version by checking the administration console or server logs
  2. 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+
  3. Back up your current Payara Server configuration, domain.xml, and any deployed applications
  4. Stop the Payara Server instance
  5. Install the new version in a separate directory or replace the existing installation
  6. Restore your configuration from the backup (or migrate manually if needed)
  7. Start the Payara Server and verify the REST Management Interface is accessible
  8. Test that the XSS vulnerability is no longer exploitable via the REST Management Interface URL
Caveat Minor version upgrades within the same major series typically have minimal breaking changes; review Payara migration guides if crossing major versions

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation6.0 h
  • Testing3.0 h
  • Review / QA2.0 h
14.0 hours of engineering $2,490
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-14340 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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