{"id":"UBUNTU-CVE-2023-25440","details":"Stored Cross Site Scripting (XSS) vulnerability in the add contact function CiviCRM 5.59.alpha1, allows attackers to execute arbitrary code in first/second name field.","modified":"2026-05-08T12:41:16.808545Z","published":"2023-05-23T01:15:00Z","upstream":["CVE-2023-25440"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-25440"},{"type":"REPORT","url":"https://packetstormsecurity.com/files/172470/CiviCRM-5.59.alpha1-Cross-Site-Scripting.html"},{"type":"REPORT","url":"https://civicrm.org/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-25440"}],"affected":[{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/civicrm@4.7.1+dfsg-2ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.1+dfsg-1","4.7.1+dfsg-2","4.7.1+dfsg-2ubuntu1","4.7.1+dfsg-2ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_name":"civicrm-l10n","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_name":"drupal7-mod-civicrm","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_version":"4.7.1+dfsg-2ubuntu1+esm1","binary_name":"wordpress-civicrm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25440.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/civicrm@4.7.30+dfsg-1ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.23+dfsg-1ubuntu1","4.7.24+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"4.7.30+dfsg-1ubuntu1+esm1"},{"binary_version":"4.7.30+dfsg-1ubuntu1+esm1","binary_name":"civicrm-l10n"},{"binary_name":"wordpress-civicrm","binary_version":"4.7.30+dfsg-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25440.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/civicrm@5.21.2+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.11.0+dfsg-1","5.18.1+dfsg-1","5.20.3+dfsg-1","5.21.0+dfsg-1","5.21.1+dfsg-1","5.21.2+dfsg-1","5.21.2+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1"},{"binary_name":"civicrm-l10n","binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1"},{"binary_name":"wordpress-civicrm","binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25440.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/civicrm@5.33.2+dfsg1-1ubuntu1+esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.33.2+dfsg1-1","5.33.2+dfsg1-1build1","5.33.2+dfsg1-1ubuntu1","5.33.2+dfsg1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"5.33.2+dfsg1-1ubuntu1+esm1"},{"binary_name":"civicrm-l10n","binary_version":"5.33.2+dfsg1-1ubuntu1+esm1"},{"binary_version":"5.33.2+dfsg1-1ubuntu1+esm1","binary_name":"wordpress-civicrm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-25440.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}