{
  "id": "CVE-2025-2946",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-2946",
  "published_at": "2025-04-03T12:23:30.694Z",
  "title": "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",
  "vendor": "pgadmin.org",
  "product": "pgAdmin 4",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "pgAdmin \u003c= 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.",
  "cwe": "CWE-79",
  "cpes": [
    "cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pgadmin.org",
        "product": "pgAdmin 4",
        "ranges": [
          "\u003c 9.2"
        ],
        "fixed_in": [
          "9.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pgAdmin 4 to 9.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
