CVE-2022-31132: Nextcloud Mail

Critical severity, CVSS 9.8. EPSS: 0.7% chance of exploitation in the next 30 days.

Nextcloud Mail is an email application for the nextcloud personal cloud product. Affected versions shipped with a CSS minifier on the path `./vendor/cerdic/css-tidy/css_optimiser.php`. Access to the minifier is unrestricted and access may lead to Server-Side Request Forgery (SSRF). It is recommendet to upgrade to Mail 1.12.7 or Mail 1.13.6. Users unable to upgrade may manually delete the file located at `./vendor/cerdic/css-tidy/css_optimiser.php`

Affected products

  • Nextcloud Mail: before 1.12.8 (fixed in 1.12.8); from 1.13.0, before 1.13.6 (fixed in 1.13.6)

Published 2022-08-04. Last modified 2026-06-17.