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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/pgadmin-org/pgadmin4/pull/9865 Exploit, Issue Tracking, Patch, Vendor Advisory
- https://github.com/pgadmin-org/pgadmin4/issues/9865 Exploit, Issue Tracking, Patch, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.8 · pgadminNVD modified 2026-10-26 18:10
Affected (CPE criteria) 1
cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*
References 2
- https://github.com/pgadmin-org/pgadmin4/pull/9865 Exploit, Issue Tracking, Patch, Vendor Advisory
- https://github.com/pgadmin-org/pgadmin4/issues/9865 Exploit, Issue Tracking, Patch, Vendor Advisory