Stored Cross-Site Scripting Vulnerability in pgAdmin 4 by pgAdmin Org
CVE-2026-7814
4.8MEDIUM
What is CVE-2026-7814?
A stored Cross-Site Scripting (XSS) vulnerability exists in pgAdmin 4's Browser Tree and Explain Visualizer modules. This flaw allows user-controlled PostgreSQL object names—such as database, schema, table, and column—to be embedded into DOM elements via the innerHTML property. As a result, an attacker can insert crafted object names featuring HTML markup, enabling the execution of malicious JavaScript in the browser of any pgAdmin user who interacts with a compromised object. The vulnerability impacts versions of pgAdmin 4 prior to 9.15, which have been addressed by replacing innerHTML with the safer textContent property.
Affected Version(s)
pgAdmin 4 6.9
