{"id":"CVE-2026-7814","aliases":["CVE-2026-7814","GHSA-6p2c-69cv-3fxq","PYSEC-2026-2866"],"related":[],"kind":"vulnerability","state":"published","title":"pgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visualizer","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de cross-site scripting (XSS) almacenado en los módulos Browser Tree y Explain Visualizer de pgAdmin 4.\n\nNombres de objetos PostgreSQL controlados por el usuario (base de datos, esquema, tabla, columna, etc.) fueron asignados a elementos DOM a través de innerHTML, permitiendo que nombres de objetos manipulados que contienen marcado HTML ejecuten JavaScript suministrado por el atacante en el navegador de cualquier usuario de pgAdmin que navegó o ejecutó EXPLAIN sobre el objeto malicioso.\n\nLa solución reemplaza innerHTML con textContent.\n\nEste problema afecta a pgAdmin 4: antes de la versión 9.15.","source":"nvd"}],"published":"2026-05-11T14:35:49.411Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"PostgreSQL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"6.9","fixed":"9.15","status":"affected"}],"vendor":"pgadmin.org","product":"pgAdmin 4","repo":"https://github.com/pgadmin-org/pgadmin4","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.15"}],"ecosystem":"PyPI","package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"6.9","fixed":"9.15"}],"vendor":"pgadmin","product":"pgadmin_4","cpe":"cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.15"}],"ecosystem":"PyPI","package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"pysec"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/pull/9865","tags":["exploit","issue-tracking","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9865","tags":["exploit","issue-tracking","patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7814","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pgadmin-org/pgadmin4","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pgadmin4","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-6p2c-69cv-3fxq","tags":["advisory"],"sources":["pysec"]}],"credits":["Fahar Abbas"],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-05-11T17:31:23.106Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-7814","url":"https://www.cve.org/CVERecord?id=CVE-2026-7814","licence":"CVE Terms of Use","modified":"2026-05-11T17:31:37.625Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6p2c-69cv-3fxq","url":"https://github.com/advisories/GHSA-6p2c-69cv-3fxq","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:45.928Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-7814","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-7814","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2866","url":"https://osv.dev/vulnerability/PYSEC-2026-2866","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:56.103Z"}],"updatedAt":"2026-11-25T22:59:21.205Z","epss":{"score":0.00249,"percentile":0.0975,"date":"2026-11-30T12:00:22.000Z"}}