CVE-2026-7814: pgAdmin 4 Cross-Site Scripting Vulnerability
MODERATECVE-2026-7814 is a MODERATE (CVSS 4.8) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting pgAdmin 4 libraries in the PyPI ecosystem. The issue involves stored cross-site scripting (xss) vulnerability in browser tree and explain visualizer modules. Remediation is available by upgrading affected packages to version 9.15.
CVE-2026-7814 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-7814
To remediate this vulnerability, upgrade all affected pgAdmin 4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pgadmin4>=9.15
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pgadmin4
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-7814, inspect your installed packages using pip:
pip show pgadmin4
Analyze the terminal output to locate any version of pgAdmin 4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.15), your application is affected.
Note: The pip show pgadmin4 command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In pgAdmin 4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-7814 Affected pgAdmin 4 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pgadmin4
|
PyPI |
< 9.15
|
9.15
|
References
Frequently Asked Questions
What is CVE-2026-7814?
Which pgAdmin 4 versions are affected?
What version fixes CVE-2026-7814?
Is pgadmin4 affected?
What is the CVSS score of CVE-2026-7814?
What CWE is associated with CVE-2026-7814?
How can I check PyPI dependencies for CVE-2026-7814?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6p2c-69cv-3fxq",
"modified" : "2026-05-18T14:32:31Z",
"published" : "2026-05-11T18:31:44Z",
"aliases" : [ "CVE-2026-7814" ],
"summary" : "pgAdmin 4: Stored cross-site scripting (XSS) vulnerability in Browser Tree and Explain Visualizer modules",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pgadmin4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.15"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7814"
}, {
"type" : "WEB",
"url" : "https://github.com/pgadmin-org/pgadmin4/issues/9865"
}, {
"type" : "WEB",
"url" : "https://github.com/pgadmin-org/pgadmin4/pull/9865"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pgadmin-org/pgadmin4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-18T14:32:31Z",
"nvd_published_at" : "2026-05-11T16:17:37Z"
}
}