PyPI: pgadmin4

CVE-2025-2946

Safety vulnerability ID: SFTY-20250403-50061

Safety legacy ID: pyup.io-76515

Affected versions of pgadmin4 are 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.

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering

Advisory

Affected versions of pgadmin4 are 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 Package

Affecting pgadmin4 package, versions
<9.2

Also affects

---

How to Fix

Upgrade
pgadmin4
to
9.2
or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more