{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31132 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-31132 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-31132 is a high-severity server-side request forgery vulnerability in nextcloud security-advisories, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-31132 and fix it if it is affected.\n\nWhat it is: CVE-2022-31132 is a high-severity server-side request forgery vulnerability in nextcloud security-advisories, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-31132 in the wild and no public exploit code.\n\nAffected product: nextcloud security-advisories. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31132/ (Markdown: https://insights.sbomify.com/CVE-2022-31132/index.md)","id":"CVE-2022-31132","markdown":"https://insights.sbomify.com/CVE-2022-31132/index.md","name":"CVE-2022-31132","record":{"aliases":["GHSA-24pm-rjfv-23mh"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Nextcloud Mail","requires_auth":"none","summary":"Unauthenticated attackers can exploit an SSRF vulnerability in the bundled CSS minifier to access internal resources or bypass security controls.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mail","vendor":"nextcloud"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"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`","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Unauthenticated SSRF in 3rd party module \"cerdic/csstidy\"","id":"CVE-2022-31132","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Cross site scripting in HumHub","id":"CVE-2022-31133"},"packages":[],"prev":{"headline":"Ownership check missing when updating or deleting mail attachments in Nextcloud mail","id":"CVE-2022-31131"},"products":["security-advisories"],"published":"2022-08-04","related":[{"cvss_score":8.8,"headline":"Missing permission check on email metadata retrieval","id":"CVE-2021-32652","kev_date_added":null,"published":"2021-06-01"},{"cvss_score":8.2,"headline":"Nextcloud Mail auto configurator can be tricked into sending account information to wrong servers","id":"CVE-2024-52508","kev_date_added":null,"published":"2024-11-15"},{"cvss_score":5,"headline":"Blind SSRF via server URL input in the Nextcloud Mail app","id":"CVE-2023-23943","kev_date_added":null,"published":"2023-02-06"},{"cvss_score":4.3,"headline":"Require strict cookies for image proxy requests in Nextcloud Mail","id":"CVE-2023-45660","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":4.3,"headline":"Bypass of image blocking in Nextcloud Mail","id":"CVE-2021-32707","kev_date_added":null,"published":"2021-07-12"},{"cvss_score":4.1,"headline":"IDOR Vulnerability in Nextcloud Mail","id":"CVE-2023-25160","kev_date_added":null,"published":"2023-02-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["nextcloud"]},"summary":"Unauthenticated attackers can exploit an SSRF vulnerability in the bundled CSS minifier to access internal resources or bypass security controls.","url":"https://insights.sbomify.com/CVE-2022-31132/"}