USN-8242-1: CiviCRM vulnerability

Publication date

7 May 2026

Overview

CiviCRM could be made to run malicious JavaScript in the user's browser if it received specially crafted input.


Packages

  • civicrm - Constituent relationship management solution

Details

Takuya Aramaki discovered that Smarty, vendored in CiviCRM, did not
properly escape JavaScript code. An attacker could possibly use this issue
to conduct a cross-site scripting attack.

Takuya Aramaki discovered that Smarty, vendored in CiviCRM, did not
properly escape JavaScript code. An attacker could possibly use this issue
to conduct a cross-site scripting attack.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 LTS jammy civicrm-common –  5.33.2+dfsg1-1ubuntu1+esm1  
20.04 LTS focal civicrm-common –  5.21.2+dfsg-1ubuntu0.1~esm1  
18.04 LTS bionic civicrm-common –  4.7.30+dfsg-1ubuntu1+esm1  
16.04 LTS xenial civicrm-common –  4.7.1+dfsg-2ubuntu1+esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›