Skip to content
OpenAdvisories
Medium · 4.6 CVE-2021-29438 EUVD-2021-0821GHSA-g3fq-3v3g-mh32

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

Published Apr 13, 2021 · Updated Aug 3, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
nextcloud nextcloud-dialogs < 3.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @nextcloud/dialogs < 3.1.2 3.1.2 GHSA-g3fq-3v3g-mh32

References