VDB

CVE-2025-2946

CVE-2025-2946 PUBLISHED CVSS 9.1 CRITICAL

pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering

Reported by postgresql · Published April 3, 2025

pgadmin4 is fixed in 9.2 (PyPI)

pgAdmin <= 9.1 is affected by a security vulnerability with Cross-Site Scripting(XSS). If attackers execute any arbitrary HTML/JavaScript in a user's browser through query result rendering, then HTML/JavaScript runs on the browser.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pgadmin4PyPI9.2
pgadmin_4pgadmin9.1
pgAdmin 4pgadmin.org9.2

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

Affected products

VendorProductVersions
pgadmin.orgpgAdmin 40
PyPIpgadmin40
pgadmin.orgpgAdmin 40

Timeline

  • Apr 3, 2025 CVE Published
  • Apr 3, 2025 PoC Published (10 in total, the first dated here)
  • Apr 4, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 9, 2025 Coalition ESS Score (15 in total, the first dated here)
  • Dec 18, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory (3 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-2946
vulnetix vdb fixes CVE-2025-2946

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-2946/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›