Advisory

GHSA-2rrx-pphc-qfv9

Also known as: CVE-2025-2946, PYSEC-2026-449

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: The source's own band: CRITICAL

Dates

Published
2025-04-03 15:31 UTC
Modified
2026-11-16 16:00 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences