CVE-2025-2946: pgAdmin 4 Vulnerable to Cross-Site Scripting (XSS) via Query Result Rendering

Published Apr 3, 2025
·
Updated

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.

Affected Software

3 affected componentsFixes available
PostgreSQL pgAdmin 4<=9.1
pip/pgadmin4<9.2
9.2
pgAdmin Pgadmin 4 Postgresql<=9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/pgadmin4 to a version that resolves this vulnerability.

    Fixed in 9.2
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.2

Event History

Apr 3, 2025
CVE Published
via MITRE·12:23 PM
Data Sourced
via MITRE·12:23 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
DescriptionSeverity
Advisory Published
via GitHub·03:31 PM
Data Sourced
via GitHub·03:31 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·06:15 PM
Weakness
Apr 4, 2025
Advisory Published
via GitHub·02:23 PM
Apr 23, 2025
Data Sourced
via NVD·10:24 PM
Affected Software
Updated
via NVD·10:24 PM
Severity
Jun 17, 2026
Updated
via NVD·09:07 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2025-2946?

CVE-2025-2946 is categorized as a medium severity vulnerability due to its potential for Cross-Site Scripting attacks.

2

Who is affected by CVE-2025-2946?

CVE-2025-2946 affects users of pgAdmin versions up to and including 9.1.

3

How do I fix CVE-2025-2946?

To fix CVE-2025-2946, upgrade pgAdmin to a version later than 9.1 where the vulnerability is addressed.

4

What types of attacks are possible with CVE-2025-2946?

CVE-2025-2946 allows attackers to execute arbitrary HTML and JavaScript in a user's browser through XSS.

5

What is the impact of CVE-2025-2946?

The impact of CVE-2025-2946 includes potential data theft, session hijacking, and manipulation of the user's session.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203