{"id":"CVE-2024-4216","state":"PUBLISHED","title":"XSS vulnerability in /settings/store API response json payload in pgAdmin 4","description":"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.","publishedAt":"2024-05-02T17:42:59.679Z","updatedAt":"2025-02-13T17:53:31.153Z","severity":{"score":7.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["pgadmin.org pgAdmin 4"],"affected":[{"vendor":"pgadmin.org","product":"pgAdmin 4","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"8.6","versionType":"custom"}],"modules":["pgadmin layout"],"programFiles":["https://github.com/pgadmin-org/pgadmin4/blob/master/web/pgadmin/browser/templates/browser/js/utils.js"],"repo":"https://github.com/pgadmin-org/pgadmin4"}],"references":["https://github.com/pgadmin-org/pgadmin4/issues/7282","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2YFVCB4HCXU3FQBZ5XTWJZWSZUDNCXE/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/4xxx/CVE-2024-4216.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-4216","state":"PUBLISHED","datePublished":"2024-05-02T17:42:59.679Z","dateUpdated":"2025-02-13T17:53:31.153Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2024-04-25T20:53:44.444Z"},"containers":{"cna":{"title":"XSS vulnerability in /settings/store API response json payload in pgAdmin 4","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pgadmin.org","product":"pgAdmin 4","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThan":"8.6","versionType":"custom"}],"modules":["pgadmin layout"],"programFiles":["https://github.com/pgadmin-org/pgadmin4/blob/master/web/pgadmin/browser/templates/browser/js/utils.js"],"repo":"https://github.com/pgadmin-org/pgadmin4"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/7282","tags":["issue-tracking"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2YFVCB4HCXU3FQBZ5XTWJZWSZUDNCXE/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.4,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2024-06-10T17:11:21.501Z"},"datePublic":"2024-03-07T18:30:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"postgresql","product":"pgadmin","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"8.5","versionType":"custom"}],"cpes":["cpe:2.3:a:postgresql:pgadmin:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-06T16:28:06.753868Z","id":"CVE-2024-4216","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-06T17:41:23.683Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/7282","tags":["issue-tracking","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T2YFVCB4HCXU3FQBZ5XTWJZWSZUDNCXE/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T20:33:52.902Z"}}]}}}