Skip to content

pgAdmin 4

pgAdmin 4: Stored XSS via crafted PostgreSQL object names in Browser Tree and Explain Visualizer

CVE-2026-7814Published 11 May 2026, 14:35 UTC

Real-world risk

0.4/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.8

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from PostgreSQL)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
pgAdmin 4Common>= 6.9, < 9.159.15

What to do

Update to a fixed version: 9.15.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.2% chance of exploitation in 30 days (percentile 6), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.140
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.3 × prerequisites 0.14 × threat 0.950.399
  4. Rounded to one decimal between 0.1 and 100.4

How the score works

Exploitation and evidence timeline

  1. 11 May 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 0.4 (cvss fallback)

Weakness

CWE-79

References

Get alerts for pgAdmin 4

Free email or text alerts when a vulnerability in pgAdmin 4 reaches risk 8 or higher. Nothing else.