# CVE-2025-2946: 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

- Severity: Critical 9.1 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2025-04-03T12:23:30.694Z
- Modified: 2026-11-16T16:00:04.680Z
- Also known as: GHSA-2rrx-pphc-qfv9, PYSEC-2026-449
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PostgreSQL

## Description

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.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: before 9.2
- pgadmin4 (PyPI): before 9.2
- pgadmin pgadmin_4: up to 9.1

## Every score

- PostgreSQL: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/8602> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2946> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-449.yaml> (web)
- <https://pypi.org/project/pgadmin4> (package, web)
- <https://github.com/advisories/GHSA-2rrx-pphc-qfv9> (advisory)

## Sources

- CVE List: [CVE-2025-2946](https://www.cve.org/CVERecord?id=CVE-2025-2946), CVE Terms of Use, modified 2025-04-03
- GitHub Advisory Database: [GHSA-2rrx-pphc-qfv9](https://github.com/advisories/GHSA-2rrx-pphc-qfv9), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2025-2946](https://nvd.nist.gov/vuln/detail/CVE-2025-2946), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-449](https://osv.dev/vulnerability/PYSEC-2026-449), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-2946 · Whole record: https://cve.day/CVE-2025-2946.json · Rebuilt by cve.day 2026-11-25T22:58:55.992Z
