Moderate severityNVD Advisory· Published Apr 13, 2021· Updated Aug 3, 2024
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs
CVE-2021-29438
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@nextcloud/dialogsnpm | < 3.1.2 | 3.1.2 |
Affected products
2Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-g3fq-3v3g-mh32ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-29438ghsaADVISORY
- github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32ghsax_refsource_CONFIRMWEB
- www.npmjs.com/package/%40nextcloud/dialogsmitrex_refsource_MISC
- www.npmjs.com/package/@nextcloud/dialogsghsaWEB
News mentions
0No linked articles in our index yet.