{"id":"UBUNTU-CVE-2025-65187","details":"A Stored Cross Site Scripting vulnerability exists in CiviCRM before v6.7 in the Accounting Batches field. An authenticated user can inject malicious JavaScript into this field and it executes whenever the page is viewed.","modified":"2026-05-08T13:23:10.099843Z","published":"2025-12-02T16:15:00Z","upstream":["CVE-2025-65187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-65187"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-65187"},{"type":"REPORT","url":"https://civicrm.com/"},{"type":"REPORT","url":"https://github.com/lukehebe/Vulnerability-Disclosures/blob/main/CVE-2025-65187.pdf"}],"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_name":"wordpress-civicrm","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65187.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/2025/UBUNTU-CVE-2025-65187.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/2025/UBUNTU-CVE-2025-65187.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_name":"wordpress-civicrm","binary_version":"5.33.2+dfsg1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-65187.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}