CVE-2025-2946: Pgadmin4 · pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
Affects pgadmin4Source GCVE Database
Not known to be exploited · CVSS 9.1 Critical : upgrade to 9.2 as a priority.
Data as of 16 Nov 2026, 16:48 UTC
- Patch
- Available – fixed in 9.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade pgadmin4 to 9.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpgadmin4 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pgAdmin 4 to version 9.2 or later to remediate this vulnerability. Since a patch is available and the fixed version is explicitly stated, applying this official fix is the recommended mitigation.
Description
pgAdmin 4 versions prior to 9.2 are vulnerable to a critical Cross-Site Scripting (XSS) flaw (CVE-2025-2946) that allows attackers to execute arbitrary HTML or JavaScript in a user's browser via query result rendering. This vulnerability can lead to partial confidentiality and integrity loss, as well as high availability impact. A fix is available in version 9.2.
References
- nvd.nist.gov/vuln/detail/CVE-2025-2946 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/issues/8602 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b (opens in a new tab)
- github.com/pgadmin-org/pgadmin4 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-449.yaml (opens in a new tab)
- pypi.org/project/pgadmin4 (opens in a new tab)