pgAdmin 4: Stored cross-site scripting (XSS) vulnerability in Browser Tree and Explain Visualizer modules
Moderate severity
GitHub Reviewed
Published
May 11, 2026
to the GitHub Advisory Database
•
Updated May 18, 2026
Description
Published by the National Vulnerability Database
May 11, 2026
Published to the GitHub Advisory Database
May 11, 2026
Reviewed
May 18, 2026
Last updated
May 18, 2026
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.
References