PyPA Advisory Database
PYSEC-2026-449
pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pgadmin4 | All versions before 9.2 (fixed in 9.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-2946
- https://github.com/pgadmin-org/pgadmin4/issues/8602
- https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b
- https://github.com/pgadmin-org/pgadmin4
- https://pypi.org/project/pgadmin4
- https://github.com/advisories/GHSA-2rrx-pphc-qfv9