CVE-2025-2946: pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/pgadmin4to a version that resolves this vulnerability.Fixed in 9.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 9.2
Event History
Frequently Asked Questions
What is the severity of CVE-2025-2946?
CVE-2025-2946 is categorized as a medium severity vulnerability due to its potential for Cross-Site Scripting attacks.
Who is affected by CVE-2025-2946?
CVE-2025-2946 affects users of pgAdmin versions up to and including 9.1.
How do I fix CVE-2025-2946?
To fix CVE-2025-2946, upgrade pgAdmin to a version later than 9.1 where the vulnerability is addressed.
What types of attacks are possible with CVE-2025-2946?
CVE-2025-2946 allows attackers to execute arbitrary HTML and JavaScript in a user's browser through XSS.
What is the impact of CVE-2025-2946?
The impact of CVE-2025-2946 includes potential data theft, session hijacking, and manipulation of the user's session.