# CVE-2021-29438: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs

- Priority: **Routine**
- Reason: Not severe (CVSS 4.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-13 · Modified: 2024-08-03
- Aliases: GHSA-g3fq-3v3g-mh32
- Record: https://cvemate.com/vulnerability/CVE-2021-29438 · JSON: https://cvemate.com/vulnerability/CVE-2021-29438/json

## Description

```text
The Nextcloud dialogs library (npm package @nextcloud/dialogs) before 3.1.2 insufficiently escaped text input passed to a toast. If your application displays toasts with user-supplied input, this could lead to a XSS vulnerability. The vulnerability has been patched in version 3.1.2 If you need to display HTML in the toast, explicitly pass the `options.isHTML` config flag.
```

## Signals

- CVSS: 5.4 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.703%, percentile 54.657%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- nextcloud nextcloud-dialogs: \< 3.1.2
- nextcloud\\/dialogs\_project nextcloud\\/dialogs: \< 3.1.2
- @nextcloud dialogs (Npm): \< 3.1.2

## References

- <https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32>
- <https://www.npmjs.com/package/%40nextcloud/dialogs>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29438>
- <https://www.npmjs.com/package/@nextcloud/dialogs>

---

Data as of 2026-12-05T04:39:15.452Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
