{"id":"CVE-2026-7814","published":"2026-05-11T14:35:49Z","modified":"2026-05-11T17:31:37Z","title":"pgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visualizer","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"tail","description":{"text":"Stored cross-site scripting (XSS) vulnerability in pgAdmin 4 Browser Tree and Explain Visualizer modules.\n\nUser-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.\n\nFix replaces innerHTML with textContent.\n\nThis issue affects pgAdmin 4: before 9.15.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00163,"percentile":0.05582,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/pull/9865","tags":["patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9865","tags":["exploit"]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"pgadmin-org","affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":[">= 6.9, < 9.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T17:31:23.106741Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pgadmin4","vulnerableRanges":["<9.15"],"patched":["9.15"],"from":["GHSA-6p2c-69cv-3fxq","PYSEC-2026-2866"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the Browser Tree and Explain Visualizer modules of pgAdmin 4 arises because PostgreSQL object names (database, schema, table, column and similar) are rendered into the page via innerHTML, so names containing HTML markup are interpreted as active content. An attacker who can create such a crafted object name, and who then gets a pgAdmin user to navigate to that object or run EXPLAIN over it, can execute attacker-supplied JavaScript in that user's browser, with the attacker needing privileges to create the object and the victim needing to take action.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:10Z"},"euvd":{"id":"EUVD-2026-29082","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/pgadmin-org/pgadmin4/issues/9865"]}