Repository navigation
Update dependency vue-i18n to v11.4.14 [SECURITY] - #4280
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Deploying piped with
|
| Latest commit: |
c559e10
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://528c161e.piped.pages.dev |
| Branch Preview URL: | https://renovate-npm-vue-i18n-vulner.piped.pages.dev |
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
kristababy444-web
approved these changes
Nov 13, 2026
kristababy444-web
approved these changes
Nov 13, 2026
kristababy444-web
approved these changes
Nov 16, 2026
kristababy444-web
approved these changes
Nov 16, 2026
kristababy444-web
approved these changes
Nov 16, 2026
renovate
Bot
force-pushed
the
renovate/npm-vue-i18n-vulnerability
branch
from
November 25, 2026 20:01
fc36c38 to
c559e10
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.3.2→11.4.14Vue I18n: escapeParameter does not prevent XSS through srcdoc in translation messages
CVE-2026-118257 / GHSA-83rm-6c8r-g728
More information
Details
Summary
When
escapeParameteris enabled (escapeParameterHtmlin the Legacy API), Vue I18n passes the translated string throughsanitizeTranslatedHtml(). The sanitizer escapes<and>in attribute values and neutralizes event handler attributes such asonerror, but it does not handle thesrcdocattribute of<iframe>.The value of
srcdocis an HTML document: the browser decodes the character references in it and parses the result as a nested document in the same origin. The escaping and the neutralization done by the sanitizer are both character references, so they are undone insidesrcdoc. This bypasses the fix for CVE-2025-53892 (GHSA-x8qp-wqqm-57ph).Details
sanitizeTranslatedHtml()(packages/shared/src/sanitize.tsin v11.4.13) works on the final translated string:<,>,"and'inside quoted attribute values.onof event handler attributes to&#​111;n.javascript:URLs inhref,src,actionandformactionwithabout:blank.Inside
srcdoc, steps 1 and 2 only produce character references, which the browser decodes before parsing the value as a document. Markup insidesrcdoctherefore survives the sanitizer, with escaping or without it.This can be reached in three ways:
srcdoc. With a message such as<iframe srcdoc="{content}"></iframe>,escapeParameterescapescontentinto character references, and the browser decodes them again.<iframe srcdoc="...">keeps it after sanitizing. The documentation asks not to use HTML messages with content from users, but it also says that the sanitizer neutralizes event handlers in the final HTML.<iframe srcdoc="...">in a named value then reaches the sanitizer as markup, even with an ordinary message such as{0} {name}.PoC
The browser decodes the value and renders
<b>x</b>as a separate document inside the<iframe>, in the same origin as the page. Any markup in that position is parsed the same way.Impact
Applications are affected when they enable
escapeParameter, render translations as HTML (for example withv-html), and one of the following applies:srcdoc,An attacker can then run script in the origin of the application (DOM-based XSS), despite the sanitizer.
Rendering through
<i18n-t>is not affected, since it does not render translations as HTML.Patches
Fixed in 11.4.14 and 12.0.0-alpha.5. The sanitizer now neutralizes the
srcdocattribute itself, in the same way as event handler attributes.v9 and v10 are no longer supported and will not be fixed. Please migrate to v11.
Workarounds
v-html. Use component interpolation (<i18n-t>) instead.srcdocin translation messages, and do not pass values into it.References
sanitizeTranslatedHtml()srcdocattributeSeverity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Vue I18n:
escapeParameterdoes not escape named values when the same call also passes a listCVE-2026-118256 / GHSA-8rc2-428q-7ww3
More information
Details
Summary
When
escapeParameteris enabled (escapeParameterHtmlin the Legacy API), Vue I18n escapes the interpolation parameters before formatting a message.escapeParams()escapes either the list values or the named values, but not both: the two branches are joined byelse. When a single call passes both, for examplet(key, ['...'], { named: { ... } }), the named values reach the message without being escaped.Details
escapeParams()inpackages/core-base/src/translate.ts(v11.4.13):t(key, list, options)is a public overload, andTranslateOptionshas anamedfield, so a call can carry both. The list is checked first, and the named values are then left as they are.The translated string still goes through
sanitizeTranslatedHtml()(added for CVE-2025-53892), which neutralizes event handler attributes andjavascript:URLs. Other markup in the named values, such as links and forms, is inserted as is. Before the fix for GHSA-83rm-6c8r-g728, an<iframe srcdoc>in a named value also passes the sanitizer, and script runs. Versions without the sanitizer (before 9.14.5, 10.0.8 and 11.1.10, and 12.0.0-alpha.1 to alpha.3) insert the named values as HTML without any further check.<i18n-t>is not affected: it passes either list or named values, never both, and it does not render translations as HTML.PoC
Impact
Applications are affected when they enable
escapeParameter, render translations as HTML (for example withv-html), and pass untrusted named values in the same call as a list. The named values are inserted as markup: phishing links, forms, or layout changes. Together with GHSA-83rm-6c8r-g728, or on versions without the sanitizer, this leads to script execution (DOM-based XSS).Patches
Fixed in 11.4.14 and 12.0.0-alpha.5.
escapeParams()now escapes both the list and the named values.The fix also stops rewriting the named object that the caller passes. Before, the values of that object were replaced with their escaped form, so a second call with the same object escaped them twice.
v9 and v10 are no longer supported and will not be fixed. Please migrate to v11.
Workarounds
escapeParameteris enabled.v-html. Use component interpolation (<i18n-t>) instead.Severity
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
intlify/vue-i18n (vue-i18n)
v11.4.14Compare Source
What's Changed
🔒 Security Fixes
👕 Refactoring
Full Changelog: intlify/vue-i18n@v11.4.13...v11.4.14
v11.4.13Compare Source
What's Changed
⚡ Improvement Features
Full Changelog: intlify/vue-i18n@v11.4.12...v11.4.13
v11.4.12Compare Source
What's Changed
🐛 Bug Fixes
Full Changelog: intlify/vue-i18n@v11.4.10...v11.4.12
v11.4.10Compare Source
What's Changed
🐛 Bug Fixes
Full Changelog: intlify/vue-i18n@v11.4.9...v11.4.10
v11.4.9Compare Source
What's Changed
🐛 Bug Fixes
⚡ Improvement Features
👕 Refactoring
Full Changelog: intlify/vue-i18n@v11.4.8...v11.4.9
v11.4.8Compare Source
What's Changed
👕 Refactoring
Full Changelog: intlify/vue-i18n@v11.4.7...v11.4.8
v11.4.7Compare Source
Full Changelog: intlify/vue-i18n@v11.4.6...v11.4.7
v11.4.6Compare Source
Full Changelog: intlify/vue-i18n@v11.4.5...v11.4.6
v11.4.5Compare Source
What's Changed
⚡ Improvement Features
partoption when format key is omitted innumber/datetimeby @kazupon in #2522Full Changelog: intlify/vue-i18n@v11.4.4...v11.4.5
v11.4.4Compare Source
What's Changed
⚡ Improvement Features
Full Changelog: intlify/vue-i18n@v11.4.3...v11.4.4
v11.4.3Compare Source
What's Changed
💥 Breaking Changes
🔒 Security Fixes
Full Changelog: intlify/vue-i18n@v11.4.2...v11.4.3
v11.4.2Compare Source
What's Changed
⚡ Improvement Features
Full Changelog: intlify/vue-i18n@v11.4.1...v11.4.2
v11.4.1Compare Source
What's Changed
⚡ Improvement Features
Full Changelog: intlify/vue-i18n@v11.4.0...v11.4.1
v11.4.0Compare Source
What's Changed
🌟 Features
Full Changelog: intlify/vue-i18n@v11.3.2...v11.4.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.