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

Published Apr 13, 2021
·
Updated

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

1 affected component
Nextcloud\/dialogs Project Nextcloud\/dialogs Node.js<3.1.2

Event History

Apr 13, 2021
CVE Published
via MITRE·06:40 PM
Data Sourced
via MITRE·06:40 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-29438?

The severity of CVE-2021-29438 is considered to be high due to the potential for XSS attacks.

2

How do I fix CVE-2021-29438?

To fix CVE-2021-29438, update the @nextcloud/dialogs package to version 3.1.2 or later.

3

What are the potential impacts of CVE-2021-29438?

CVE-2021-29438 can lead to cross-site scripting (XSS) vulnerabilities if user-supplied input is not properly escaped.

4

Is my application affected by CVE-2021-29438?

Your application may be affected by CVE-2021-29438 if it uses the @nextcloud/dialogs package version below 3.1.2 and displays user-supplied input in toasts.

5

What is the nature of the vulnerability in CVE-2021-29438?

CVE-2021-29438 is an XSS vulnerability caused by insufficiently escaping user input in toast notifications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203