CVE-2022-31132: Nextcloud Mail
Critical severity, CVSS 9.8. EPSS: 0.8% probability of exploitation activity 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`
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Nextcloud Mail, before 1.12.8: fixed in 1.12.8
- Nextcloud Mail, from 1.13.0, before 1.13.6: fixed in 1.13.6
Affected products
Published 2022-08-04. Last modified 2026-06-17.