Skip to content
Fencer Vulns
high 7.4

CVE-2024-4216 json

XSS vulnerability in /settings/store API response json payload in pgAdmin 4

published 2024-05-02 2 y ago modified 2026-07-07 4 mo ago also EUVD-2024-1871 , GHSA-xv64-8p4r-94gq , PYSEC-2026-1777

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 40%
public exploits
0
none known

Summary

pgAdmin <= 8.5 is affected by XSS vulnerability in /settings/store API response json payload. This vulnerability allows attackers to execute malicious script at the client end.

Patch / fix

  • pypi pgadmin4 8.6
  • pgadmin.org pgAdmin 4 8.6
  • pgadmin4 SLE Module for Server Applications 15 SP5, SLE Module for Python 3 15 SP6, openSUSE Leap 15.5 4.30-150300.3.15.1
  • pgadmin4 SLE Module for Python 3 15 SP6, openSUSE Leap 15.6 8.5-150600.3.3.1

suse advisories SUSE-SU-2024:3552-1SUSE-SU-2024:2260-1

  • pgadmin4 openSUSE Tumbleweed 8.8-1.1

opensuse advisories openSUSE-SU-2024:14052-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-4216 updated cvss 7.4

pgadmin4: XSS in /settings/store endpoint

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/pgadmin-org/pgadmin4/issues/7282 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
pypi pgadmin4
<8.6
8.6

Affected products

  • pgadmin.org pgAdmin 4
  • postgresql pgadmin

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.