Description
Stored cross-site scripting (XSS) vulnerability in pgAdmin 4 Browser Tree and Explain Visualizer modules.
User-controlled PostgreSQL object names (database, schema, table, column, etc.) were assigned to DOM elements via innerHTML, allowing crafted object names containing HTML markup to execute attacker-supplied JavaScript in the browser of any pgAdmin user who navigated to or executed EXPLAIN over the malicious object.
Fix replaces innerHTML with textContent.
This issue affects pgAdmin 4: before 9.15.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pgadmin.org | pgAdmin 4 | 6.9 – < 9.15 | 9.15 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pgadmin4 | 9.17-1.1 | openSUSE-SU-2026:11508-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | pgadmin4 | < 9.15 | 9.15 | GHSA-6p2c-69cv-3fxq |
Advisories 2
- WID-SEC-2026-1462 pgAdmin: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 16, 2026
- openSUSE-SU-2026:11508-1 pgadmin4-9.17-1.1 on GA media SUSE / openSUSE Security Updates · Aug 14, 2026