CVE-2026-12048

MEDIUMNVD 5.49.3
EchelonGraph scoreMEDIUM confidence

Score 9.3 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-19. NVD baseline CVSS 5.4; sources differ by 3.9.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Trending — 3 sources updated this week
5.4
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS: 0%CVSS: 5.4Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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 ) 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.

CVSS v3
5.4
EG Score
9.3(medium)
EG Risk
46(Track)
EG Risk 46/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity93% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS
11.3%
KEV
Not listed

Published

June 19, 2026

Last Modified

June 29, 2026

Advisory Details (2)

Auto-updated Jun 22, 2026
Upstream fix merged — awaiting tagged release. Sources: github_commit.
generic

Stored XSS via PostgreSQL server error messages and Explain plan nodes (CVE-2026-12048) · Issue #10068 · pgadmin-org/pgadmin4 · GitHub

https://github.com/pgadmin-org/pgadmin4/issues/10068
github_commit

commit 9e370d3cb67b (pgadmin-org/pgadmin4)

Fix landed in pgadmin-org/pgadmin4 commit 9e370d3cb67b — awaiting tagged release

https://github.com/pgadmin-org/pgadmin4/commit/9e370d3cb67b83b3945f82969c959fad3f926517

Vendor Advisories for CVE-2026-12048(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 11× in last 7d / 181× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 213 total refreshes for this CVE.

  1. 2026-07-23 14:18 UTCEPSS rescore
  2. 2026-07-23 03:05 UTCEG score recompute
  3. 2026-07-22 14:08 UTCEPSS rescore
  4. 2026-07-21 15:24 UTCEPSS rescore
  5. 2026-07-20 17:08 UTCEPSS rescore
  6. 2026-07-19 14:30 UTCEPSS rescore
  7. 2026-07-19 02:28 UTCEPSS rescore
  8. 2026-07-18 10:04 UTCEPSS rescore
  9. 2026-07-17 04:59 UTCGHSA enrichment
  10. 2026-07-17 00:58 UTCGHSA enrichment
  11. 2026-07-16 20:54 UTCGHSA enrichment
  12. 2026-07-16 17:02 UTCEPSS rescore
  13. 2026-07-16 15:09 UTCGHSA enrichment
  14. 2026-07-16 11:23 UTCGHSA enrichment
  15. 2026-07-16 07:38 UTCGHSA enrichment
  16. 2026-07-16 03:52 UTCGHSA enrichment
  17. 2026-07-16 00:06 UTCGHSA enrichment
  18. 2026-07-15 20:20 UTCGHSA enrichment
  19. 2026-07-15 16:57 UTCEPSS rescore
  20. 2026-07-15 16:35 UTCGHSA enrichment
  21. 2026-07-15 12:49 UTCGHSA enrichment
  22. 2026-07-15 07:33 UTCGHSA enrichment
  23. 2026-07-15 03:48 UTCGHSA enrichment
  24. 2026-07-15 02:00 UTCEPSS rescore
  25. 2026-07-15 00:01 UTCGHSA enrichment
Show 75 more
  1. 2026-07-14 20:15 UTCGHSA enrichment
  2. 2026-07-14 16:26 UTCGHSA enrichment
  3. 2026-07-14 12:41 UTCGHSA enrichment
  4. 2026-07-14 08:55 UTCGHSA enrichment
  5. 2026-07-14 04:43 UTCGHSA enrichment
  6. 2026-07-14 00:51 UTCGHSA enrichment
  7. 2026-07-13 22:30 UTCEPSS rescore
  8. 2026-07-13 21:06 UTCGHSA enrichment
  9. 2026-07-13 17:19 UTCGHSA enrichment
  10. 2026-07-13 13:31 UTCGHSA enrichment
  11. 2026-07-13 09:45 UTCGHSA enrichment
  12. 2026-07-13 06:12 UTCEPSS rescore
  13. 2026-07-13 05:58 UTCGHSA enrichment
  14. 2026-07-13 02:12 UTCGHSA enrichment
  15. 2026-07-12 22:26 UTCGHSA enrichment
  16. 2026-07-12 18:40 UTCGHSA enrichment
  17. 2026-07-12 14:29 UTCGHSA enrichment
  18. 2026-07-12 10:40 UTCGHSA enrichment
  19. 2026-07-12 06:48 UTCGHSA enrichment
  20. 2026-07-12 05:46 UTCEPSS rescore
  21. 2026-07-12 02:59 UTCGHSA enrichment
  22. 2026-07-11 23:13 UTCGHSA enrichment
  23. 2026-07-11 19:27 UTCGHSA enrichment
  24. 2026-07-11 15:41 UTCGHSA enrichment
  25. 2026-07-11 11:54 UTCGHSA enrichment
  26. 2026-07-11 08:27 UTCEPSS rescore
  27. 2026-07-11 08:07 UTCGHSA enrichment
  28. 2026-07-11 04:21 UTCGHSA enrichment
  29. 2026-07-11 00:30 UTCGHSA enrichment
  30. 2026-07-10 20:26 UTCGHSA enrichment
  31. 2026-07-10 16:41 UTCGHSA enrichment
  32. 2026-07-10 12:47 UTCGHSA enrichment
  33. 2026-07-10 08:59 UTCGHSA enrichment
  34. 2026-07-10 05:13 UTCGHSA enrichment
  35. 2026-07-10 01:09 UTCGHSA enrichment
  36. 2026-07-09 21:22 UTCGHSA enrichment
  37. 2026-07-09 19:10 UTCEPSS rescore
  38. 2026-07-09 17:36 UTCGHSA enrichment
  39. 2026-07-09 13:45 UTCGHSA enrichment
  40. 2026-07-09 09:58 UTCGHSA enrichment
  41. 2026-07-09 06:12 UTCGHSA enrichment
  42. 2026-07-09 02:21 UTCGHSA enrichment
  43. 2026-07-08 22:25 UTCGHSA enrichment
  44. 2026-07-08 18:38 UTCGHSA enrichment
  45. 2026-07-08 15:15 UTCEPSS rescore
  46. 2026-07-08 15:15 UTCEPSS rescore
  47. 2026-07-08 14:52 UTCGHSA enrichment
  48. 2026-07-08 11:05 UTCGHSA enrichment
  49. 2026-07-08 07:20 UTCGHSA enrichment
  50. 2026-07-08 03:22 UTCGHSA enrichment
  51. 2026-07-07 23:33 UTCGHSA enrichment
  52. 2026-07-07 19:48 UTCGHSA enrichment
  53. 2026-07-07 13:46 UTCEPSS rescore
  54. 2026-07-07 11:13 UTCGHSA enrichment
  55. 2026-07-07 06:20 UTCGHSA enrichment
  56. 2026-07-07 02:32 UTCGHSA enrichment
  57. 2026-07-06 22:46 UTCGHSA enrichment
  58. 2026-07-06 19:00 UTCGHSA enrichment
  59. 2026-07-06 16:27 UTCEPSS rescore
  60. 2026-07-06 14:15 UTCGHSA enrichment
  61. 2026-07-06 10:25 UTCGHSA enrichment
  62. 2026-07-06 06:26 UTCGHSA enrichment
  63. 2026-07-06 02:23 UTCEPSS rescore
  64. 2026-07-06 02:15 UTCGHSA enrichment
  65. 2026-07-05 22:29 UTCGHSA enrichment
  66. 2026-07-05 18:42 UTCGHSA enrichment
  67. 2026-07-05 14:54 UTCGHSA enrichment
  68. 2026-07-05 11:06 UTCGHSA enrichment
  69. 2026-07-05 07:19 UTCGHSA enrichment
  70. 2026-07-05 03:33 UTCGHSA enrichment
  71. 2026-07-05 02:30 UTCEPSS rescore
  72. 2026-07-05 02:30 UTCEPSS rescore
  73. 2026-07-04 23:46 UTCGHSA enrichment
  74. 2026-07-04 19:59 UTCGHSA enrichment
  75. 2026-07-04 16:14 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-12048?
CVE-2026-12048 is a medium vulnerability published on June 19, 2026. 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…
When was CVE-2026-12048 disclosed?
CVE-2026-12048 was first published in the National Vulnerability Database on June 19, 2026, with the most recent update on June 29, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-12048 actively exploited?
CVE-2026-12048 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 11.3% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-12048?
CVE-2026-12048 has a CVSS v3 base score of 5.4 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.3.
How do I remediate CVE-2026-12048?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-12048, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-12048

Explore →

Is Your Infrastructure Affected by CVE-2026-12048?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.