CVE Catalog

CVE-2026-7814

MediumCVSS 4.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

Stored cross-site scripting (XSS) vulnerability in pgAdmin 4 Browser Tree and Explain Visualizer modules. User-controlled PostgreSQL object names 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.

Risk Assessment

An attacker can execute arbitrary JavaScript in the victim's pgAdmin session, potentially leading to credential theft or database takeover. Exploitation requires creating a malicious object in the PostgreSQL database.

Recommendation

Update pgAdmin 4 to version 9.15 or later. Restrict object creation privileges in PostgreSQL databases for untrusted users.

Other vulnerabilities in pgAdmin 4

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS