{"id":"CVE-2024-3903","state":"PUBLISHED","title":"Add Custom CSS and JS <= 1.20 - Stored XSS via CSRF","description":"The Add Custom CSS and JS WordPress plugin through 1.20 does not have CSRF check in some places, and is missing sanitisation as well as escaping, which could allow attackers to make logged in as author and above add Stored XSS payloads via a CSRF attack","publishedAt":"2024-05-09T06:00:02.924Z","updatedAt":"2024-08-01T20:26:56.964Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"WPScan","products":["Unknown Add Custom CSS and JS"],"affected":[{"vendor":"Unknown","product":"Add Custom CSS and JS","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.20","versionType":"semver"}]}],"references":["https://wpscan.com/vulnerability/0a0e7bd4-948d-47c9-9219-380bda9f3034/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/3xxx/CVE-2024-3903.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3903","state":"PUBLISHED","datePublished":"2024-05-09T06:00:02.924Z","dateUpdated":"2024-08-01T20:26:56.964Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2024-04-17T01:30:55.611Z"},"containers":{"cna":{"title":"Add Custom CSS and JS <= 1.20 - Stored XSS via CSRF","descriptions":[{"lang":"en","value":"The Add Custom CSS and JS WordPress plugin through 1.20 does not have CSRF check in some places, and is missing sanitisation as well as escaping, which could allow attackers to make logged in as author and above add Stored XSS payloads via a CSRF attack"}],"affected":[{"vendor":"Unknown","product":"Add Custom CSS and JS","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.20","versionType":"semver"}]}],"references":[{"url":"https://wpscan.com/vulnerability/0a0e7bd4-948d-47c9-9219-380bda9f3034/","tags":["exploit","vdb-entry","technical-description"]}],"problemTypes":[{"descriptions":[{"description":"CWE-79 Cross-Site Scripting (XSS)","lang":"en","type":"CWE"}]},{"descriptions":[{"description":"CWE-352 Cross-Site Request Forgery (CSRF)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateUpdated":"2024-05-09T06:00:02.924Z"},"credits":[{"lang":"en","value":"Bob Matyas","type":"finder"},{"lang":"en","value":"WPScan","type":"coordinator"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"WPScan CVE Generator"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"silkypress","product":"add_custom_css_and_js","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.20","versionType":"custom"}],"cpes":["cpe:2.3:a:silkypress:add_custom_css_and_js:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":7.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-07-23T18:39:55.501927Z","id":"CVE-2024-3903","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-23T18:41:20.904Z"}},{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/0a0e7bd4-948d-47c9-9219-380bda9f3034/","tags":["exploit","vdb-entry","technical-description","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T20:26:56.964Z"}}]}}}