Quick answers
- Is CVE-2025-2946 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-2946 being exploited in the wild.
- How severe is CVE-2025-2946?
- Low severity, with a CVSS score of 3.1, published 29 June 2026.
- Which products and versions are affected?
- pgadmin4 (PyPI) ECOSYSTEM:introduced=0,fixed=9.2.
- Is there a fix for CVE-2025-2946?
- Yes. pgadmin4 (PyPI): upgrade to 9.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-2946 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2025-2946?
- Check whether you run pgadmin4 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- pgadmin4 (PyPI): upgrade to 9.2 or later
pip install "pgadmin4>=9.2"
Technical details
The vulnerability is a stored cross-site scripting (XSS) flaw in the query result rendering component of pgAdmin 4. When a user executes a SELECT query against a database containing malicious JavaScript payloads (e.g., <img src=a onerror=alert()>), the result grid fails to sanitize or escape HTML/JavaScript content before display, causing the script to execute directly in the user's browser. The attack requires a user to run a query that retrieves attacker-controlled data, but once triggered, it executes with the privileges of the authenticated pgAdmin user. A fix is available in version 9.2.
Affected products
- pgAdmin pgAdmin 4 all versions up to and including 9.1
Identifiers
- CVE-2025-2946
- GHSA-2rrx-pphc-qfv9
- PYSEC-2026-449
Timeline
- 2025-04-03: disclosed
- 2025-04-03: patched: fixed in version 9.2