PGADMIN4 · CVE-2025-2946 · Package
FIX → 9.2
pgAdmin 4 versions 9.1 and earlier do not sanitize query result output, so attacker-supplied HTML and JavaScript runs in the browser of a user who views those results. The result is cross-site scripting that can act with the logged-in user's session in pgAdmin.
first public Apr 3, 2025 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running pgAdmin 4 versions 9.1 and earlier, including the PyPI pgadmin4 package, where users view query results from databases they do not fully trust. Installations that only run the latest release or that are not used to view untrusted query output are less exposed. The sources do not describe further preconditions.
Not affected if version-9.2-or-later
Who cares pgadmin4, postgresql, python, web-ui
pip show pgadmin4 for the PyPI install, or the version shown in the pgAdmin About dialog.9.2.Upgrade to 9.2
pgadmin4): move to 9.2.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.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.