Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nextcloud\/Dialogs Project | Nextcloud\/Dialogs | < 3.1.2 |
Related Weaknesses (CWE)
References
- https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3Third Party Advisory
- https://www.npmjs.com/package/%40nextcloud/dialogs
- https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3Third Party Advisory
- https://www.npmjs.com/package/%40nextcloud/dialogs
FAQ
What is CVE-2021-29438?
CVE-2021-29438 is a vulnerability with a CVSS score of 4.6 (MEDIUM). 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 coul...
How severe is CVE-2021-29438?
CVE-2021-29438 has been rated MEDIUM with a CVSS base score of 4.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-29438?
Check the references section above for vendor advisories and patch information. Affected products include: Nextcloud\/Dialogs Project Nextcloud\/Dialogs.