Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-7814 EUVD-2026-29082GHSA-6p2c-69cv-3fxqPYSEC-2026-2866

pgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visualizer

Published May 11, 2026 · Updated May 11, 2026 · Assigned by PostgreSQL

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pgadmin4 9.17-1.1 openSUSE-SU-2026:11508-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pgadmin4 < 9.15 9.15 GHSA-6p2c-69cv-3fxq

Advisories 2

References