nday
CVE-2025-2946 GHSA-2rrx-pphc-qfv9

Cross-Site Vulnerability(XSS) due to arbitrary HTML/JavaScript gets executed while query result rendering in Query Tool and View/Edit Data Tool of pgAdmin 4

pgadmin.org / pgAdmin 4

Patch on record 592 days after disclosure. Patched: fixed in pgadmin4 9.2. None of the four PoC sources lists it. Not in CISA KEV.

tags weakness typeXSS accessnetworkno user interaction ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

XSS
CWE-79, stated by the ADP CISA-ADP, NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0, and GitHub advisory GHSA-2rrx-pphc-qfv9
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H (CVSS 3.1) from the CNA PostgreSQL
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H (CVSS 3.1) from the CNA PostgreSQL
PyPI
GHSA-2rrx-pphc-qfv9: pip packages pgadmin4
stage
PAT
disclosed
disclosure → patch
T+592d
cvss
9.1 CRITICAL v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-04-03T12:23Z
PATpatch
2026-11-16T16:00Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

pgAdmin <= 9.1 is affected by a security vulnerability with Cross-Site Scripting(XSS). If attackers execute any arbitrary HTML/JavaScript in a user's browser through query result rendering, then HTML/JavaScript runs on the browser.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA PostgreSQL.

Event log

+DISdisclosed

CVE record published by PostgreSQL. CVSS 9.1, critical.

src cvelist · nday , bulk import · raw
{
  "id": 351259,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-2946",
  "occurred_at": "2025-04-03T12:23:30.694Z",
  "observed_at": "2026-11-13T05:38:48.939217Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H",
      "version": "3.1",
      "base_score": 9.1,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-04-03T13:13:37.371829Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2025-04-03T12:23:30.694Z",
    "assigner_short_name": "PostgreSQL"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version pgadmin4 9.2. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-2rrx-pphc-qfv9 · nday , observed live · raw
{
  "id": 472937,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-2rrx-pphc-qfv9",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-2rrx-pphc-qfv9",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.1,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Neutralization of Input During Web Page Generation",
        "cwe_id": "CWE-79"
      }
    ],
    "ghsa_id": "GHSA-2rrx-pphc-qfv9",
    "packages": [
      {
        "name": "pgadmin4",
        "ecosystem": "pip",
        "first_patched_version": "9.2",
        "vulnerable_version_range": "< 9.2"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2025-2946",
      "https://github.com/pgadmin-org/pgadmin4/issues/8602",
      "https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-449.yaml",
      "https://pypi.org/project/pgadmin4",
      "https://github.com/advisories/GHSA-2rrx-pphc-qfv9"
    ],
    "fix_commit_urls": [
      "https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b"
    ],
    "github_reviewed_at": "2025-04-04T14:23:53Z",
    "advisory_updated_at": "2026-11-16T15:51:08Z",
    "source_code_location": "https://github.com/pgadmin-org/pgadmin4",
    "advisory_published_at": "2025-04-03T15:31:13Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.