CVE-2021-29438
4.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| nextcloud | nextcloud-dialogs | < 3.1.2 | affected |
Weaknesses
- CWE-79: {"CWE-79":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}
- CWE-80: {"CWE-80":"Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)"}
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32
- https://www.npmjs.com/package/%40nextcloud/dialogs
References
- https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32
- https://www.npmjs.com/package/%40nextcloud/dialogs
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.