# DOC: How to update Roundcube to version 1.6.12 (fixes 2 security vulnerabilities)

**URL:** <https://forum.hestiacp.com/t/doc-how-to-update-roundcube-to-version-1-6-12-fixes-2-security-vulnerabilities/20752>\
**Category:** Uncategorized\
**Created:** [December 14, 2025, 12:14pm UTC](https://forum.hestiacp.com/t/doc-how-to-update-roundcube-to-version-1-6-12-fixes-2-security-vulnerabilities/20752 "2025-12-14T12:14:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/10259_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 14, 2025, 12:14pm UTC](https://forum.hestiacp.com/t/doc-how-to-update-roundcube-to-version-1-6-12-fixes-2-security-vulnerabilities/20752/1 "2025-12-14T12:14:59Z")

</div>

Hi,

Today, **December 14th, 2025** has been released **Roundcube**  **1.6.12** and it fixes **two security vulnerabilities**.

```t
Security fixes:

- Fix Cross-Site-Scripting vulnerability via SVG's animate tag reported by Valentin T., CrowdStrike.
- Fix Information Disclosure vulnerability in the HTML style sanitizer reported by somerandomdev.

```

More info about the release:

> **[Release Roundcube Webmail 1.6.12 · roundcube/roundcubemail](https://github.com/roundcube/roundcubemail/releases/tag/1.6.12)**
>
> This is a security update to the stable version 1.6 of Roundcube Webmail.
> It provides fixes to recently reported security vulnerabilities:
> 
> Fix Cross-Site-Scripting vulnerability via SVG's animate ...

I’ve created this PR to bump **Roundcube** version to **1.6.12** :

> <https://github.com/hestiacp/hestiacp/pull/5187>
>
> Security fixes:
> 
> \- Fix Cross-Site-Scripting vulnerability via SVG's animate ta…g reported by Valentin T., CrowdStrike.
> \- Fix Information Disclosure vulnerability in the HTML style sanitizer reported by somerandomdev.

* * *

If you want to update Roundcube now, you can do it manually using below steps.

**Disclaimer** : it should work fine BUT use this procedure at your own risk!

**Note** : I assume your Roundcube current installed version is 1.6.11.

* * *

**0.-** BACKUP, always backup… just in case 😉

**Note** : If you use MySQL instead of MariaDB, replace `mariadb-dump` with `mysqldump`.

```t
mariadb-dump --defaults-file=/usr/local/hestia/conf/.mysql.localhost --single-transaction --routines -B roundcube > /tmp/roundcube_1.6.11.sql
tar zcf /tmp/roundcube_1.6.11_backup_before_upgrade_1.6.12.tar.gz /etc/roundcube /var/lib/roundcube /tmp/roundcube_1.6.11.sql
rm /tmp/roundcube_1.6.11.sql

```

Now save to another place the backup file located here `/tmp/roundcube_1.6.11_backup_before_upgrade_1.6.12.tar.gz`

Example:

```t
mv /tmp/roundcube_1.6.11_backup_before_upgrade_1.6.12.tar.gz /backup/

```

**1.-** Modify `upgrade.conf` file so the Roundcube version is 1.6.12 instead of 1.6.11:

```t
sed -E -i "s/^rc_v='1.*/rc_v='1.6.12'/" /usr/local/hestia/install/upgrade/upgrade.conf

```

**2.-** Upgrade roundcube using below Hestia’s command. It will detect that roundcube is installed, will detect the new version and will update it:

If you have disabled php functions `system` and `proc_open` in PHP CLI, you won’t receive errors but Roundcube won’t update to version 1.6.12, it will remain in version 1.6.11 so to avoid this problem, before continue, remove both functions for your current PHP CLI version. These two commands will remove the functions from your current PHP CLI version (version is detected automatically).

```auto
sed -i -E 's/(^disable_functions.*),proc_open(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini
sed -i -E 's/(^disable_functions.*),system(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini

```

Now you can proceed with the upgrade;

```t
v-add-sys-roundcube

```

**3.-** Update composer packages used by roundcube:

```t
cd /var/lib/roundcube/
COMPOSER_ALLOW_SUPERUSER=1 composer -n update

```

If composer is not in your path, you should use the full path to composer utility, if you don’t know even whether you have it installed or how to install it, just install it for admin user.

```t
v-add-user-composer admin

```

If it is not installed, the command will install it for the admin user and if you had it already installed, you will be informed. So, now that it is installed you can update composer packages using the full path to composer.

```t
cd /var/lib/roundcube/
COMPOSER_ALLOW_SUPERUSER=1 /home/admin/.composer/composer -n update

```

Hope it helps. Take care.

---

<div class="post-metadata">

**Author:** ![nu01](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/nu01/32/7639_2.png) [@nu01](https://forum.hestiacp.com/u/nu01)\
**Post date:** [December 14, 2025, 2:18pm UTC](https://forum.hestiacp.com/t/doc-how-to-update-roundcube-to-version-1-6-12-fixes-2-security-vulnerabilities/20752/2 "2025-12-14T14:18:46Z")

</div>

I successfully upgraded all my servers to 1.6.12. Tested and till now everything works fine. 🙂
