Advisory

PYSEC-2026-449

Also known as: CVE-2025-2946, GHSA-2rrx-pphc-qfv9

Summary

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

pgadmin4

PyPI · All systems

Affected

  • introduced 0, fixed 9.2 (ecosystem)

Fixed versions

9.2

Fix

  • Fixed version 9.2
    pip install --upgrade pgadmin4==9.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences