-
-
Notifications
You must be signed in to change notification settings - Fork 4
fix(deps): update dependency vue-i18n to v9.14.3 [security] #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
1e23e6e
to
e459ff6
Compare
e459ff6
to
7573059
Compare
7573059
to
c7d4757
Compare
c7d4757
to
2c6ef9c
Compare
f69a762
to
3fde2a8
Compare
0588c80
to
736e738
Compare
736e738
to
07fe56d
Compare
07fe56d
to
d3f14bc
Compare
This PR contains the following updates:
9.4.0
->9.14.3
GitHub Vulnerability Alerts
CVE-2024-52809
Vulnerability type
XSS
Description
vue-i18n can be passed locale messages to
createI18n
oruseI18n
.we can then translate them using
t
and$t
.vue-i18n has its own syntax for local messages, and uses a message compiler to generate AST.
In order to maximize the performance of the translation function, vue-i18n uses bundler plugins such as
@intlify/unplugin-vue-i18n
and bulder to convert the AST in advance when building the application.By using that AST as the locale message, it is no longer necessary to compile, and it is possible to translate using the AST.
The AST generated by the message compiler has special properties for each node in the AST tree to maximize performance. In the PoC example below, it is a
static
property, but that is just one of the optimizations.About details of special properties, see https://github.com/intlify/vue-i18n/blob/master/packages/message-compiler/src/nodes.ts
In general, the locale messages of vue-i18n are optimized during production builds using
@intlify/unplugin-vue-i18n
,so there is always a property that is attached during optimization like this time.
But if you are using a locale message AST in development mode or your own, there is a possibility of XSS if a third party injects.
Reproduce (PoC)
Workarounds
Before v10.0.0, we can work around this vulnerability by using the regular compilation (
jit: false
of@intlify/unplugin-vue-i18n
plugin configuration) way instead of jit compilation.References
CVE-2025-27597
Vulnerability type:
Prototype Pollution
Vulnerability Location(s):
Description:
The latest version of
@intlify/message-resolver (9.1)
and@intlify/vue-i18n-core (9.2 or later)
, (previous versions might also affected), is vulnerable to Prototype Pollution through the entry function(s)handleFlatJson
. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context.
PoC:
Release Notes
intlify/vue-i18n (vue-i18n)
v9.14.3
Compare Source
What's Changed
🔒 Security Fixes
handleFlatJson
, about details see GHSA-p2ph-7g93-hw3mFull Changelog: intlify/vue-i18n@v9.14.2...v9.14.3
v9.14.2
Compare Source
What's Changed
🔒 Security Fixes
Full Changelog: intlify/vue-i18n@v9.14.1...v9.14.2
v9.14.1
Compare Source
What's Changed
🐛 Bug Fixes
deepCopy
mutatessrc
arguments by @BobbieGoede in https://github.com/intlify/vue-i18n/pull/1975Full Changelog: intlify/vue-i18n@v9.14.0...v9.14.1
v9.14.0
Compare Source
What's Changed
⚡ Improvement Features
Full Changelog: intlify/vue-i18n@v9.13.1...v9.14.0
v9.13.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
Full Changelog: intlify/vue-i18n@v9.13.0...v9.13.1
v9.13.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
📝️ Documentations
New Contributors
Full Changelog: intlify/vue-i18n@v9.12.1...v9.13.0
v9.12.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
👕 Refactoring
Full Changelog: intlify/vue-i18n@v9.12.0...v9.12.1
v9.12.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
Full Changelog: intlify/vue-i18n@v9.11.1...v9.12.0
v9.11.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
.d.ts
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1794Full Changelog: intlify/vue-i18n@v9.11.0...v9.11.1
v9.11.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
scope
prop by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1786New Contributors
Full Changelog: intlify/vue-i18n@v9.10.2...v9.11.0
v9.10.2
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
message-compiler
by @BobbieGoede in https://github.com/intlify/vue-i18n-next/pull/1766New Contributors
Full Changelog: intlify/vue-i18n@v9.10.1...v9.10.2
v9.10.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
📝️ Documentations
New Contributors
Full Changelog: intlify/vue-i18n@v9.10.0...v9.10.1
v9.10.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
te
behavior compatibility before v9.6 by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1751📝️ Documentations
New Contributors
Full Changelog: intlify/vue-i18n@v9.9.1...v9.10.0
v9.9.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
📝️ Documentations
New Contributors
Full Changelog: intlify/vue-i18n@v9.9.0...v9.9.1
v9.9.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
📈 Performance Fixes
📝️ Documentations
New Contributors
Full Changelog: intlify/vue-i18n@v9.8.0...v9.9.0
v9.8.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
Full Changelog: intlify/vue-i18n@v9.7.1...v9.8.0
v9.7.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
⚡ Improvement Features
@intlify/core
conditional exports by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1639Full Changelog: intlify/vue-i18n@v9.7.0...v9.7.1
v9.7.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
Full Changelog: intlify/vue-i18n@v9.6.5...v9.7.0
v9.6.5
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
New Contributors
Full Changelog: intlify/vue-i18n@v9.6.4...v9.6.5
v9.6.4
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
Full Changelog: intlify/vue-i18n@v9.6.3...v9.6.4
v9.6.3
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
/* #__PURE__*/
comment timing by @newives in https://github.com/intlify/vue-i18n-next/pull/1623New Contributors
Full Changelog: intlify/vue-i18n@v9.6.2...v9.6.3
v9.6.2
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
Full Changelog: intlify/vue-i18n@v9.6.1...v9.6.2
v9.6.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
te
logic strictly by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1612te
fallback to root by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1613Full Changelog: intlify/vue-i18n@v9.6.0...v9.6.1
v9.6.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
@intlfy/core-base
(@intlify/core
) by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1594🐛 Bug Fixes
@vite-ignore
magic comment by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1590setLocaleMessage
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1601te
by @kazupon in https://github.com/intlify/vue-i18n-next/pull/1602⚡ Improvement Features
📝️ Documentations
Full Changelog: intlify/vue-i18n@v9.5.0...v9.6.0
v9.5.0
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🌟 Features
🐛 Bug Fixes
📝️ Documentations
🍭 Examples
New Contributors
Full Changelog: intlify/vue-i18n@v9.4.1...v9.5.0
v9.4.1
Compare Source
This changelog is generated by GitHub Releases
What's Changed
🐛 Bug Fixes
📝️ Documentations
Full Changelog: intlify/vue-i18n@v9.4.0...v9.4.1
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - "* 0-3 1 * *" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.