Live threats

All CVEs / Nextcloud/dialogs Project

CVE-2021-29438Nextcloud/dialogs Project Nextcloud/dialogs

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.7%
probability of exploitation in 30 days · percentile 55
Auth required
Yes
Published
Apr 13, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-80
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nextcloud/dialogs.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @nextcloud/dialogs < 3.1.2 3.1.2 npm install @nextcloud/dialogs@3.1.2

Per OSV / GitHub Advisories (GHSA-g3fq-3v3g-mh32). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nextcloud/dialogs_projectnextcloud/dialogs< 3.1.2

Official sources

References

Links published by the sources. Open them with care.