{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-2946","id":"CVE-2025-2946","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","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.","descriptionLong":"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","updated":"2026-10-28T02:31:06.131731857Z","reserved":"2025-03-29T01:38:36.107Z","status":"Analyzed","rejected":false,"assigner":"PostgreSQL","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","rating":"critical","source":"PostgreSQL"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","rating":"critical","source":"PostgreSQL"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","rating":"critical","source":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["pgadmin.org pgAdmin 4"],"affectedProducts":[{"vendor":"pgadmin.org","product":"pgAdmin 4","defaultStatus":"affected","versions":[{"lessThan":"9.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<9.2"],"fixed":["9.2"],"advisory":"GHSA-2rrx-pphc-qfv9"}],"cwes":["CWE-79"],"aliases":["GHSA-2rrx-pphc-qfv9","PYSEC-2026-449"],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/8602","tags":["issue-tracking","Issue Tracking","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2946.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2946","tags":["advisory"]},{"url":"https://github.com/pgadmin-org/pgadmin4","tags":["package"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/1305d9910beefd0d6b4c7eb4f111f86edb1d356b","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-449.yaml","tags":["web"]},{"url":"https://pypi.org/project/pgadmin4","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-2rrx-pphc-qfv9","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00329,"epssPercentile":0.26553,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-2946","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2946","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-2946","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2rrx-pphc-qfv9","ok":true,"note":"GHSA-2rrx-pphc-qfv9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-2946","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}