CVE-2021-29438: The Nextcloud dialogs library (npm package @nextcloud/dialogs) before 3.1.2 insufficiently escaped text input
CVE-2021-29438 is a medium-severity flaw (CVSS 4.6) affecting nextcloud\/dialogs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-29438?
nextcloud\/dialogs: upgrade to 3.1.2. Exact commands for each OS are on this page.
Is CVE-2021-29438 being exploited?
CVE-2021-29438 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-29438 affect?
CVE-2021-29438 affects nextcloud\/dialogs. Severity is medium (CVSS 4.6). 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 vulne
How urgent is CVE-2021-29438?
Priority 29/100. No elevated risk signals yet.
Software pages
Nextcloud vulnerabilities · npm packages vulnerabilities