CVEBrief

Home / pgadmin.org / pgAdmin 4 / CVE-2026-12048

CVE-2026-12048: is it exploited, and which versions of pgadmin.org pgAdmin 4 are affected and fixed?

CVE-2026-12048 is a cross-site scripting (XSS) vulnerability in pgadmin.org pgAdmin 4. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: pgAdmin 4 from 6.0 before 9.16 (CVE record by PostgreSQL). Fixed in 9.16 (CVE record by PostgreSQL). Severity: Critical (9.3, CVSS 3.1, from PostgreSQL).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
pgAdmin 4 from 6.0 before 9.16
CVE record by PostgreSQL
Fixed in
9.16
CVE record by PostgreSQL
Severity
Critical 9.3
CVSS 3.1 from PostgreSQL
Exploit odds (EPSS)
0.21% in 30 days
higher than 12% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-12048?

pgAdmin 4: Stored XSS via untrusted error and plan-node text rendered through html-react-parser

Stored cross-site scripting in pgAdmin 4's error-rendering and plan-node-rendering paths. Text returned by a PostgreSQL server (ErrorResponse messages, including object names quoted back inside relation-does-not-exist errors and inside EXPLAIN Recheck Cond / Exact Heap Blocks fields) was passed verbatim through html-react-parser at every user-facing sink — the notifier toasts, FormFooterMessage / FormInput help and error areas, FormNote, ModalProvider AlertContent and confirmDelete, ToolErrorView, the Explain visualiser's NodeText panel, the SQL editor confirm dialogs, ConfirmSaveContent, PreferencesHelper modal alerts, and SelectThemes helper text. A PostgreSQL server an attacker controls — or any server returning attacker-influenced text such as a table or column name a low-privilege database user can create — could inject arbitrary HTML (including <iframe>) into the pgAdmin DOM the moment the victim's pgAdmin connected to that server or viewed an Explain plan that referenced the crafted object. The injected iframe's srcdoc could fetch attacker-served JavaScript and, by writing to parent.location, redirect the victim's top-level pgAdmin browser tab to an attacker-controlled URL. Because the injection originates from inside pgAdmin's own interface, standard anti-clickjacking controls (X-Frame-Options, Content-Security-Policy: frame-ancestors) do not mitigate it. A phishing page rendered inside the legitimate pgAdmin window is indistinguishable from a genuine pgAdmin dialog. Fix combines three complementary layers. (1) DOMPurify sanitisation is wrapped around every html-react-parser call site reachable from notifier, alert, form-error, Explain, and SQL-editor flows. (2) A new plain-text rendering contract — SafeMessage / SafeHtmlMessage components plus Notifier.errorText / alertText / warningText / infoText / successText helpers — is introduced; around fifty callers across browser, tools, dashboard, debugger, misc, llm, preferences, schema diff, and the SQL editor that previously interpolated backend-derived strings are migrated to the plain-text variants. (3) Backend HTML-escape is applied at the post-connection-SQL handler (execute_post_connection_sql) via a new sanitize_external_text helper, so third-party JSON consumers (audit logs, API clients) never receive raw markup either; the Explain plan-info renderer is also patched to _.escape Recheck Cond and Exact Heap Blocks at construction (matching every sibling field), giving defence in depth even before DOMPurify runs. This issue affects pgAdmin 4: from 6.0 before 9.16.

From the CVE record by PostgreSQL, last updated June 22, 2026, 19:15 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
pgadmin.orgpgAdmin 4from 6.0 before 9.169.16

As the CVE record by PostgreSQL states it, last updated June 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
pgadminpgadmin 4from 6.0 before 9.16application

NVD analysis (status Analyzed), last modified October 26, 2026, 11:10 UTC.

How severe is CVE-2026-12048?

ScoreVersionVectorSource
Critical 9.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:NPostgreSQL
Critical 9.3CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NPostgreSQL
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-12048 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 22, 2026)
EPSS
0.21% probability of exploitation activity in the next 30 days, percentile 11.9 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
June 11, 2026
Published
June 18, 2026, 23:37 UTC
CVE record updated
June 22, 2026, 19:15 UTC by PostgreSQL
NVD
Analyzed, last modified October 26, 2026, 11:10 UTC
Last checked
CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect pgAdmin 4?

Every CVE in pgAdmin 4

Questions about CVE-2026-12048

Is CVE-2026-12048 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of pgadmin.org pgAdmin 4 are affected by CVE-2026-12048?

pgAdmin 4 from 6.0 before 9.16, per the CVE record by PostgreSQL. The tables above give every range the sources list.

Which version fixes CVE-2026-12048?

9.16, per the CVE record by PostgreSQL. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-12048?

Critical (9.3, CVSS 3.1, from PostgreSQL). The severity table above shows each score with its source.

Where is the official record of CVE-2026-12048?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.