
Cloud Vulnerability DB
A community-led vulnerabilities database
A Cross-Site Scripting (XSS) vulnerability was discovered in pgAdmin versions 9.1 and earlier, identified as CVE-2025-2946. The vulnerability allows attackers to execute arbitrary HTML/JavaScript code in a user's browser through query result rendering. The issue was disclosed on April 3, 2025, and was subsequently patched in pgAdmin version 9.2 (PgAdmin Issues, ASEC Advisory).
The vulnerability stems from improper sanitization of query results in the Query Tool and View/Edit Data features. When a user executes a query that retrieves data containing malicious JavaScript payloads, pgAdmin renders the result without proper sanitization, leading to immediate execution of embedded scripts within the browser. The vulnerability has been assigned a CVSS v3.1 base score of 9.1 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H, and is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD Database).
The vulnerability allows attackers to execute arbitrary JavaScript code in the context of the user's browser session, potentially leading to unauthorized access to sensitive data, session hijacking, or other malicious actions within the pgAdmin interface (PgAdmin Issues).
The vulnerability has been fixed in pgAdmin version 9.2. Users are strongly advised to upgrade to this version or later. The fix includes proper sanitization of query results before rendering, preventing the execution of embedded scripts in the browser (ASEC Advisory, OSS Security).
The vulnerability has received significant attention in the database administration community, with security researchers and database administrators emphasizing the importance of immediate patching. The PostgreSQL community has responded promptly by releasing a fix and providing detailed documentation about the vulnerability (Daily CyberSecurity).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."