Vulnerability · Published Apr 3, 2025 · Assigned by PostgreSQL

CVE-2025-2946Cross-Site Vulnerability(XSS) due to arbitrary HTML/JavaScript gets executed while query result rendering in Query Tool and View/Edit Data Tool of pgAdmin 4

Critical 9.1

In plain English

A critical-severity cross-site scripting in pgAdmin 4 from pgadmin.org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.3%top 73.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpgadmin49.2GHSA-2rrx-pphc-qfv9
PyPIpgadmin49.2PYSEC-2026-449

Affected products (as reported)

VendorProductVersions
pgadmin.org pgAdmin 4 0 – before 9.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

References