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)
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 96× in last 7d / 246× 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 246 total refreshes for this CVE.

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