CVE-2021-29438
MEDIUM 5.4CVSS 3.1Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs
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.
- Published
- 13 Apr 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79CWE-80
- Also known as
- GHSA-g3fq-3v3g-mh32
- Sources
- NVDJSONOSV GHSA-g3fq-3v3g-mh32JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nextcloud/dialogs_project | nextcloud/dialogscpe:2.3:a:nextcloud\/dialogs_project:nextcloud\/dialogs:*:*:*:*:*:node.js:*:* |
< 3.1.2 | 3.1.2 |
| OSV | npm | @nextcloud/dialogs | < 3.1.2 | 3.1.2 |
References
- https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32 · Third Party Advisory, WEB
- https://www.npmjs.com/package/%40nextcloud/dialogs
- https://nvd.nist.gov/vuln/detail/CVE-2021-29438 · ADVISORY
- https://www.npmjs.com/package/@nextcloud/dialogs · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Apr 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2021)