{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14340 exists.","fix":"No fix has been published for CVE-2025-14340 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-14340 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-14340 exists.\n\nAffected product: Payara Server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-14340/ (Markdown: https://insights.sbomify.com/CVE-2025-14340/index.md)","id":"CVE-2025-14340","markdown":"https://insights.sbomify.com/CVE-2025-14340/index.md","name":"CVE-2025-14340","record":{"aliases":["GHSA-rgjw-pqcr-56gf"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Payara Server","requires_auth":"high_privilege","summary":"An attacker can use a malicious URL to trick administrators into changing their password, leading to account takeover in Payara Server.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Payara","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"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/S:P/AU:N/R:U/RE:M/U:Red","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site scripting in REST Management Interface in Payara Server \u003c4.1.2.191.54, \u003c5.83.0, \u003c6.34.0, \u003c7.2026.1 allows an attacker to mislead the administrator to change the admin password via URL Payload.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-03-23","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-03-23T02:05:09Z","kind":"github_poc","ref":"https://github.com/DeepSecurityResearch/CVE-2025-14340","stars":1,"title":"PoC for CVE-2025-14340: Admin account takeover in Payara Server"},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-14340.yaml","stars":null,"title":"Payara Server - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":null,"headline":"Admin Account Takeover via malicious URL payload","id":"CVE-2025-14340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"Input Data Manipulation in DivvyDrive Information Technologies' DivvyDrive","id":"CVE-2025-14341"},"packages":[],"prev":{"headline":"weMail \u003c= 2.0.7 - Missing Authorization to Unauthenticated Form Deletion","id":"CVE-2025-14339"},"products":["Payara Server"],"published":"2026-02-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-19","vendors":["Payara Platform"]},"summary":"An attacker can use a malicious URL to trick administrators into changing their password, leading to account takeover in Payara Server.","url":"https://insights.sbomify.com/CVE-2025-14340/"}