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

Published Apr 3, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-9604 pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
Github GHSA Github GHSA GHSA-2rrx-pphc-qfv9 pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
History
Type Values Removed Values Added
First Time appeared Pgadmin
Pgadmin pgadmin 4
CPEs cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*
Vendors & Products Pgadmin
Pgadmin pgadmin 4
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title 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
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Apr 3, 2025, 5:57 PM
Reserved
Mar 29, 2025, 1:38 AM
Status
Analyzed
Published
Apr 3, 2025, 1:15 PM
Modified
Jun 17, 2026, 9:07 AM