VYPR
Unrated severityNVD Advisory· Published Aug 4, 2022· Updated Apr 23, 2025

Unauthenticated SSRF in 3rd party module "cerdic/csstidy"

CVE-2022-31132

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Nextcloud Mail includes an unauthenticated SSRF vulnerability via a CSS minifier at `./vendor/cerdic/css-tidy/css_optimiser.php`.

Vulnerability

Nextcloud Mail versions prior to 1.12.7 and 1.13.6 shipped with a third-party CSS minifier located at ./vendor/cerdic/css-tidy/css_optimiser.php. This script is accessible without authentication and accepts untrusted input, which can be abused to perform Server-Side Request Forgery (SSRF). The vulnerable code path is reachable by any unauthenticated HTTP request to the minifier endpoint.

Exploitation

An attacker with network access to the Nextcloud instance can send crafted HTTP requests to the CSS minifier script at ./vendor/cerdic/css-tidy/css_optimiser.php. By manipulating the input parameters, the attacker can force the server to make HTTP requests to arbitrary internal or external hosts, effectively performing SSRF. No authentication or user interaction is required.

Impact

Successful exploitation enables the attacker to probe and interact with internal services (e.g., databases, routers) that are normally protected behind the network perimeter. This can lead to information disclosure about the infrastructure, such as discovering running services or router details, and may serve as a stepping stone for further attacks.

Mitigation

The vulnerability is fixed in Nextcloud Mail 1.12.7 and 1.13.6 [1]. Users who cannot upgrade immediately should manually delete the file ./vendor/cerdic/css-tidy/css_optimiser.php as a workaround [1]. No evidence of active exploitation in the wild or inclusion in CISA KEV has been reported.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Nextcloud/Mailllm-fuzzy
    Range: <1.12.7, <1.13.6
  • nextcloud/security-advisoriesv5
    Range: < 1.12.8

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.