CVE-2025-2946 | Cross-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

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.

Published: 2025-04-03 Last update: 2026-06-17 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Conclusion & alert: CVE-2025-2946 is rated Moderate Risk (43.7/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.29%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-2946

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.18% 0.29% +0.11%
2 2026-06-09 0.13% 0.18% +0.05%
3 2026-01-28 0.13%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-2946

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.1 5.3 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2025-2946

GitHub Security Advisory for CVE-2025-2946

GHSA-2rrx-pphc-qfv9 · Severity: critical · Ecosystem: pip — pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering

OS Trackers for CVE-2025-2946

vendor priority summary link
suse critical CVE-2025-2946 severity critical: SUSE including 13 source package names (pgadmin4, pgadmin4-9.2-1.1, …), 63 product×package rows across 20 product lines (SLES-LTSS-TERADATA 15 SP2, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, … (20 product lines)): Known Not Affected 57, Fixed 6. https://www.suse.com/security/cve/CVE-2025-2946/

Affected software / configurations for CVE-2025-2946

Vendor Product Version Raw CPE
pgadmin pgadmin_4 <= 9.1 cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*

References for CVE-2025-2946

cvelogic Threat Intelligence