Skip to content
Heist/ feed
Back to feed
Medium

Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror

Type: advisorySources: OSV

Vue I18n is the internationalization plugin for Vue.js. The escapeParameterHtml: true option in Vue I18n is designed to protect against HTML/script injection by escaping interpolated parameters. However, starting in version 9.0.0 and prior to versions 9.14.5, 10.0.8, and 11.1.0, this setting fails to prevent execution of certain tag-based payloads, such as , if the interpolated value is inserted inside an HTML context using v-html. This may lead to a DOM-based XSS vulnerability, even when using escapeParameterHtml: true, if a translation string includes minor HTML and is rendered via v-html. Versions 9.14.5, 10.0.8, and 11.1.0 contain a fix for the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-53892
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:19 UTC · Revision 1

Source evidence

Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror

core-osv · Original source

Published 16 Jul 2025, 13:42 UTC

Vue I18n is the internationalization plugin for Vue.js. The escapeParameterHtml: true option in Vue I18n is designed to protect against HTML/script injection by escaping interpolated parameters. However, starting in version 9.0.0 and prior to versions 9.14.5, 10.0.8, and 11.1.0, this setting fails to prevent execution of certain tag-based payloads, such as , if the interpolated value is inserted inside an HTML context using v-html. This may lead to a DOM-based XSS vulnerability, even when using escapeParameterHtml: true, if a translation string includes minor HTML and is rendered via v-html. Versions 9.14.5, 10.0.8, and 11.1.0 contain a fix for the issue.

osv:CVE-2025-53892
Complete source record
{
  "id": "c443a6aa1e2c47dfd8004a1dcd7a7d36a9b370258e5a63e25f95c457b7e22f23",
  "url": "https://osv.dev/vulnerability/CVE-2025-53892",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror",
    "summary": "Vue I18n is the internationalization plugin for Vue.js. The escapeParameterHtml: true option in Vue I18n is designed to protect against HTML/script injection by escaping interpolated parameters. However, starting in version 9.0.0 and prior to versions 9.14.5, 10.0.8, and 11.1.0, this setting fails to prevent execution of certain tag-based payloads, such as , if the interpolated value is inserted inside an HTML context using v-html. This may lead to a DOM-based XSS vulnerability, even when using escapeParameterHtml: true, if a translation string includes minor HTML and is rendered via v-html. Versions 9.14.5, 10.0.8, and 11.1.0 contain a fix for the issue.",
    "evidence": "osv:CVE-2025-53892",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-53892",
      "aliases": [
        "CVE-2025-53892",
        "GHSA-x8qp-wqqm-57ph"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/intlify/vue-i18n",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f3567129d710d320f471361a3de22672e7e26c57"
                },
                {
                  "fixed": "924596094e3123251efb3b0ae2d93bbd4a5742ce"
                },
                {
                  "introduced": "a0115961d4f9397e246c95cf9cb958beebff5da2"
                },
                {
                  "fixed": "30971026b77c5985a4ad3d56c665bf77c2536be7"
                },
                {
                  "introduced": "2b986621ad04b10825dc61db18a82137470c3278"
                },
                {
                  "fixed": "9dc7f4970081de867b474baa8c7fe965841ad0d1"
                },
                {
                  "fixed": "49f982443ab8fd94ecc427b265ce97d57df94d7e"
                },
                {
                  "fixed": "a47099619fb9b256e86341a8658ebe72e92ab099"
                },
                {
                  "fixed": "ecbbd3a22361ce644a9185828cb4161daf528223"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.14.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.8"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "11.0.0"
                      },
                      {
                        "fixed": "11.1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "49f982443ab8fd94ecc427b265ce97d57df94d7e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a47099619fb9b256e86341a8658ebe72e92ab099"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "30971026b77c5985a4ad3d56c665bf77c2536be7"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v10.0.8"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ecbbd3a22361ce644a9185828cb4161daf528223"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v11.1.10"
                  },
                  {
                    "range": [
                      {
                        "fixed": "924596094e3123251efb3b0ae2d93bbd4a5742ce"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v9.14.5"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.14.4",
            "v10.0.7",
            "v9.14.3",
            "v10.0.6",
            "v11.0.1",
            "v11.0.0",
            "v9.14.2",
            "v10.0.5",
            "v10.0.4",
            "v9.14.1",
            "v10.0.3",
            "v10.0.2",
            "v10.0.1",
            "v10.0.0",
            "v9.14.0",
            "v9.13.1",
            "v9.13.0",
            "v9.12.1",
            "v9.12.0",
            "v9.11.1",
            "v9.11.0",
            "v9.10.2",
            "v9.10.1",
            "v9.10.0",
            "v9.9.1",
            "v9.9.0",
            "v9.8.0",
            "v9.7.1",
            "v9.7.0",
            "v9.6.5",
            "v9.6.4",
            "v9.6.3",
            "v9.6.2",
            "v9.6.1",
            "v9.6.0",
            "v9.5.0",
            "v9.4.1",
            "v9.4.0",
            "v9.3.0",
            "v9.3.0-beta.27",
            "v9.3.0-beta.26",
            "v9.3.0-beta.25",
            "v9.3.0-beta.24",
            "v9.3.0-beta.23",
            "v9.3.0-beta.22",
            "v9.3.0-beta.21",
            "v9.3.0-beta.20",
            "v9.3.0-beta.19",
            "v9.3.0-beta.18",
            "v9.3.0-beta.17",
            "v9.3.0-beta.16",
            "v9.3.0-beta.15",
            "v9.3.0-beta.14",
            "v9.3.0-beta.13",
            "v9.3.0-beta.12",
            "v9.3.0-beta.11",
            "v9.3.0-beta.10",
            "v9.3.0-beta.9",
            "v9.3.0-beta.8",
            "v9.3.0-beta.7",
            "v9.3.0-beta.6",
            "v9.3.0-beta.5",
            "v9.3.0-beta.4",
            "v9.3.0-beta.3",
            "v9.3.0-beta.2",
            "v9.3.0-beta.1",
            "v9.3.0-beta.0",
            "v9.2.2",
            "v9.2.1",
            "v9.2.0",
            "v9.2.0-beta.40",
            "v9.2.0-beta.39",
            "v9.2.0-beta.38",
            "v9.2.0-beta.37",
            "v9.2.0-beta.36",
            "v9.2.0-beta.35",
            "v9.2.0-beta.34",
            "v9.2.0-beta.33",
            "v9.2.0-beta.32",
            "v9.2.0-beta.31",
            "v9.2.0-beta.30",
            "v9.2.0-beta.29",
            "v9.2.0-beta.28",
            "v9.2.0-beta.27",
            "v9.2.0-beta.26",
            "v9.2.0-beta.25",
            "v9.2.0-beta.24",
            "v9.2.0-beta.23",
            "v9.2.0-beta.22",
            "v9.2.0-beta.21",
            "v9.2.0-beta.20",
            "v9.2.0-beta.19",
            "v9.2.0-beta.18",
            "v9.2.0-beta.17",
            "v9.2.0-beta.16",
            "v9.2.0-beta.15",
            "v9.2.0-beta.14",
            "v9.2.0-beta.13",
            "v9.2.0-beta.12",
            "v9.2.0-beta.11",
            "v9.2.0-beta.10",
            "v9.2.0-beta.9",
            "v9.2.0-beta.8",
            "v9.2.0-beta.7",
            "v9.2.0-beta.6",
            "v9.2.0-beta.5",
            "v9.2.0-beta.4",
            "v9.2.0-beta.3",
            "v9.2.0-beta.2",
            "v9.2.0-beta.1",
            "v9.2.0-alpha.9",
            "v9.2.0-alpha.8",
            "v9.2.0-alpha.7",
            "v9.2.0-alpha.6",
            "v9.2.0-alpha.5",
            "v9.1.6",
            "v9.2.0-alpha.4",
            "v9.2.0-alpha.3",
            "v9.2.0-alpha.2",
            "v9.2.0-alpha.1",
            "v9.1.5",
            "v9.1.4",
            "v9.1.3",
            "v9.1.2",
            "v9.1.1",
            "v9.1.0",
            "v9.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53892.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.233539870Z",
      "provider": "osv",
      "references": [
        "https://github.com/intlify/vue-i18n/releases/tag/v10.0.8",
        "https://github.com/intlify/vue-i18n/releases/tag/v11.1.10",
        "https://github.com/intlify/vue-i18n/releases/tag/v9.14.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53892.json",
        "https://github.com/intlify/vue-i18n/security/advisories/GHSA-x8qp-wqqm-57ph",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-53892",
        "https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e",
        "https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099",
        "https://github.com/intlify/vue-i18n/pull/2229",
        "https://github.com/intlify/vue-i18n/pull/2230"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53892.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-53892",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508988,
  "published_at": "2025-07-16T13:42:09.383+00:00"
}