StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8242-1

CiviCRM vulnerability

Published: Thu, 07 May 2026 07:47

CVE-2023-28447

Summary

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

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.

Recommended actions per Ubuntu release

StackPatch playbook auto-generated per release codename and per affected package.

Ubuntu bionic

  • civicrm4.7.30+dfsg-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.30+dfsg-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-common4.7.30+dfsg-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.30+dfsg-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-common

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-l10n4.7.30+dfsg-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.30+dfsg-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-l10n

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • wordpress-civicrm4.7.30+dfsg-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.30+dfsg-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y wordpress-civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu focal

  • civicrm5.21.2+dfsg-1ubuntu0.1~esm1apt_upgrade_esm

    Fixed at 5.21.2+dfsg-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.

    sudo pro attach <token>
    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm=5.21.2+dfsg-1ubuntu0.1~esm1

    Sign up at https://ubuntu.com/pro. Free for personal + small-team use.

  • civicrm-common5.21.2+dfsg-1ubuntu0.1~esm1apt_upgrade_esm

    Fixed at 5.21.2+dfsg-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.

    sudo pro attach <token>
    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-common=5.21.2+dfsg-1ubuntu0.1~esm1

    Sign up at https://ubuntu.com/pro. Free for personal + small-team use.

  • civicrm-l10n5.21.2+dfsg-1ubuntu0.1~esm1apt_upgrade_esm

    Fixed at 5.21.2+dfsg-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.

    sudo pro attach <token>
    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-l10n=5.21.2+dfsg-1ubuntu0.1~esm1

    Sign up at https://ubuntu.com/pro. Free for personal + small-team use.

  • wordpress-civicrm5.21.2+dfsg-1ubuntu0.1~esm1apt_upgrade_esm

    Fixed at 5.21.2+dfsg-1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.

    sudo pro attach <token>
    sudo apt-get update
    sudo apt-get install --only-upgrade -y wordpress-civicrm=5.21.2+dfsg-1ubuntu0.1~esm1

    Sign up at https://ubuntu.com/pro. Free for personal + small-team use.

Ubuntu jammy

  • civicrm5.33.2+dfsg1-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 5.33.2+dfsg1-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-common5.33.2+dfsg1-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 5.33.2+dfsg1-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-common

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-l10n5.33.2+dfsg1-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 5.33.2+dfsg1-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-l10n

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • wordpress-civicrm5.33.2+dfsg1-1ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 5.33.2+dfsg1-1ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y wordpress-civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu xenial

  • civicrm4.7.1+dfsg-2ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.1+dfsg-2ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-common4.7.1+dfsg-2ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.1+dfsg-2ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-common

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • civicrm-l10n4.7.1+dfsg-2ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.1+dfsg-2ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y civicrm-l10n

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • drupal7-mod-civicrm4.7.1+dfsg-2ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.1+dfsg-2ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y drupal7-mod-civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • wordpress-civicrm4.7.1+dfsg-2ubuntu1+esm1apt_upgrade

    Standard apt upgrade. Install 4.7.1+dfsg-2ubuntu1+esm1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y wordpress-civicrm

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Are YOU affected by USN-8242-1?

5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8242-1 (and any other live CVE) applies. Anonymous, no signup.

curl https://mindsparkstack.com/scan.sh | bash
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.