{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.2"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9e4acefa165177c40204aff768e24bcc4b4a6aec"
            }
          ],
          "repo": "https://github.com/nextcloud-libraries/nextcloud-dialogs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g3fq-3v3g-mh32"
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:nextcloud\\/dialogs_project:nextcloud\\/dialogs:*:*:*:*:*:node.js:*:*"
        ],
        "extracted_events": [
          {
            "fixed": "3.1.2"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "nextcloud/dialogs_project:nextcloud/dialogs"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2021-29438",
  "modified": "2026-07-08T05:38:59.119997625Z",
  "published": "2021-04-13T20:15:22.187Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/package/%40nextcloud/dialogs"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nextcloud/nextcloud-dialogs/security/advisories/GHSA-g3fq-3v3g-mh32"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}