CVE-2021-29438 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs
MediumCVSS 5.4
EPSS 0.70%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Nextcloud @nextcloud/dialogs(npm) | < 3.1.2 | 3.1.2 | Fixed |
| nextclouddialogs project nextclouddialogs | < 3.1.2 | 3.1.2 | Fixed |
| nextcloud-dialogs | = < 3.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud @nextcloud/dialogs(npm) | < 3.1.2 | 3.1.2 |
| nextclouddialogs project nextclouddialogs | < 3.1.2 | 3.1.2 |
| nextcloud-dialogs | = < 3.1.2 | No fix listed |
References
- github.com third-party-advisory vendor-advisory
- www.npmjs.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.npmjs.com