{"id":"CVE-2025-53892","published":"2025-07-16T13:42:09Z","modified":"2025-07-22T14:58:34Z","title":"Intlify Vue I18n's escapeParameterHtml does not prevent DOM-based XSS via tag attributes like onerror","vendor":"intlify","product":"vue-i18n","tier":"tail","description":{"text":"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 <img src=x onerror=...>, 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00808,"percentile":0.57753,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/intlify/vue-i18n/security/advisories/GHSA-x8qp-wqqm-57ph","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/intlify/vue-i18n/pull/2229","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/pull/2230","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/releases/tag/v10.0.8","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/releases/tag/v11.1.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/intlify/vue-i18n/releases/tag/v9.14.5","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":11.55},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"intlify","affectedVersions":[{"vendor":"intlify","product":"vue-i18n","versions":[">= 9.0.0, < 9.14.5",">= 10.0.0, < 10.0.8",">= 11.0.0, < 11.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-22T14:58:31.075680Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vue-i18n","vulnerableRanges":[">=9.0.0, <9.14.5",">=10.0.0, <10.0.8",">=11.0.0, <11.1.10"],"patched":["9.14.5","10.0.8","11.1.10"],"from":["GHSA-x8qp-wqqm-57ph"],"provenance":"source"},{"ecosystem":"npm","package":"@intlify/core","vulnerableRanges":[">=9.0.0, <9.14.5",">=10.0.0, <10.0.8",">=11.0.0, <11.1.10"],"patched":["9.14.5","10.0.8","11.1.10"],"from":["GHSA-x8qp-wqqm-57ph"],"provenance":"source"},{"ecosystem":"npm","package":"@intlify/core-base","vulnerableRanges":[">=9.0.0, <9.14.5",">=10.0.0, <10.0.8",">=11.0.0, <11.1.10"],"patched":["9.14.5","10.0.8","11.1.10"],"from":["GHSA-x8qp-wqqm-57ph"],"provenance":"source"},{"ecosystem":"npm","package":"@intlify/vue-i18n-core","vulnerableRanges":[">=9.2.0, <9.14.5",">=10.0.0, <10.0.8",">=11.0.0, <11.1.10"],"patched":["9.14.5","10.0.8","11.1.10"],"from":["GHSA-x8qp-wqqm-57ph"],"provenance":"source"},{"ecosystem":"npm","package":"petite-vue-i18n","vulnerableRanges":[">=10.0.0, <10.0.8",">=11.0.0, <11.1.10"],"patched":["10.0.8","11.1.10"],"from":["GHSA-x8qp-wqqm-57ph"],"provenance":"source"}],"summary":{"text":"The Vue I18n internationalization plugin for Vue.js, in versions 9.0.0 up to but not including 9.14.5, 10.0.8, and 11.1.0, has a flaw where the escapeParameterHtml option fails to block certain tag-based payloads such as an img element with an onerror handler when the interpolated value is rendered through v-html. An attacker who can influence a translation string or its parameters, and get a user to interact with the affected page, can cause script to execute in the victim's browser as a DOM-based cross-site scripting attack, even with escapeParameterHtml enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:02Z"},"euvd":{"id":"EUVD-2025-21704","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-intlify-vue-i18n-cve-2024-52809","parents":[{"from":"CVE-2024-52809","to":"CVE-2025-53892","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@intlify/core-base","fromFixed":"9.14.2","toFixed":"9.14.5","daysApart":229},{"kind":"version-step","provenance":"source","package":"npm:@intlify/core-base","fromFixed":"10.0.5","toFixed":"10.0.8","daysApart":229},{"kind":"same-code","provenance":"machine","files":["packages/core-base/src/translate.ts","packages/shared/src/utils.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/72f0d323006fc7363b18cab62d4522dadd874411","https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e","https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099"],"basis":"shared function","functions":["translate"]}]},{"from":"CVE-2024-52810","to":"CVE-2025-53892","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/core-base/src/translate.ts","packages/shared/src/utils.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/9f20909ef8c9232a1072d7818e12ed6d6451024d","https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e","https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099"],"basis":"shared function","functions":["translate"]}]}],"children":[{"from":"CVE-2025-53892","to":"CVE-2026-118256","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@intlify/vue-i18n-core","fromFixed":"11.1.10","toFixed":"11.4.14","daysApart":469},{"kind":"version-step","provenance":"source","package":"npm:vue-i18n","fromFixed":"11.1.10","toFixed":"11.4.14","daysApart":469},{"kind":"same-code","provenance":"machine","files":["packages/core-base/src/translate.ts"],"commits":["https://github.com/intlify/vue-i18n/commit/49f982443ab8fd94ecc427b265ce97d57df94d7e","https://github.com/intlify/vue-i18n/commit/a47099619fb9b256e86341a8658ebe72e92ab099","https://github.com/intlify/vue-i18n/commit/d657ce8f4b3b6b198a8f6e3d09e2b57a5d019fb8"],"basis":"shared function","functions":["translate"]}]}],"packageHistory":[{"cve":"CVE-2024-52809","published":"2024-11-29","fixed":"10.0.5","kev":false},{"cve":"CVE-2024-52810","published":"2024-11-29","fixed":"10.0.5","kev":false},{"cve":"CVE-2025-27597","published":"2025-03-07","fixed":"11.1.2","kev":false,"link":{"from":"CVE-2025-27597","to":"CVE-2025-53892","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@intlify/vue-i18n-core","fromFixed":"9.14.3","toFixed":"9.14.5","daysApart":131},{"kind":"version-step","provenance":"source","package":"npm:@intlify/vue-i18n-core","fromFixed":"10.0.6","toFixed":"10.0.8","daysApart":131}]}},{"cve":"CVE-2025-53892","published":"2025-07-16","fixed":"11.1.10","kev":false},{"cve":"CVE-2026-118256","published":"2026-10-28","fixed":"12.0.0-alpha.5","kev":false},{"cve":"CVE-2026-118257","published":"2026-10-28","fixed":"12.0.0-alpha.5","kev":false,"link":{"from":"CVE-2025-53892","to":"CVE-2026-118257","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@intlify/vue-i18n-core","fromFixed":"11.1.10","toFixed":"11.4.14","daysApart":469},{"kind":"version-step","provenance":"source","package":"npm:vue-i18n","fromFixed":"11.1.10","toFixed":"11.4.14","daysApart":469}]}}],"package":"npm:@intlify/vue-i18n-core"}}