{"id":"CVE-2025-2946","aliases":["GHSA-2rrx-pphc-qfv9","PYSEC-2026-449"],"url":"https://o3.security/vulnerability/CVE-2025-2946","summary":"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","details":"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.","published":"2025-04-03T12:23:30.694Z","modified":"2026-10-28T02:31:06.131731857Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pgadmin4","fixedVersion":"9.2"}],"fix":{"url":"https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b","label":"pgadmin-org/pgadmin4@1305d99"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2946.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2946"},{"type":"REPORT","url":"https://github.com/pgadmin-org/pgadmin4/issues/8602"},{"type":"PACKAGE","url":"https://github.com/pgadmin-org/pgadmin4"},{"type":"WEB","url":"https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:06.131731857Z"}}