Skip to content

Conversation

@openverse-bot
Copy link
Collaborator

@openverse-bot openverse-bot commented Oct 18, 2025

This PR contains the following updates:

Package Type Update Change
vue-i18n (source) devDependencies patch 11.1.2 -> 11.1.10

GitHub Vulnerability Alerts

CVE-2025-53892

Summary

The escapeParameterHtml: true option in Vue I18n is designed to protect against HTML/script injection by escaping interpolated parameters. However, 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.

Details

When escapeParameterHtml: true is enabled, it correctly escapes common injection points.

However, it does not sanitize entire attribute contexts, which can be used as XSS vectors via:

<img src=x onerror=alert(1)>

PoC

In your Vue I18n configuration:

const i18n = createI18n({
  escapeParameterHtml: true,
  messages: {
    en: {
      vulnerable: 'Caution: <img src=x onerror="{payload}">'
    }
  }
});

Use this interpolated payload:

const payload = '<script>alert("xss")</script>';
Render the translation using v-html (even not using v-html):

<p v-html="$t('vulnerable', { payload })"></p>
Expected: escaped content should render as text, not execute.

Actual: script executes in some environments (or the payload is partially parsed as HTML).

Impact

This creates a DOM-based Cross-Site Scripting (XSS) vulnerability despite enabling a security option (escapeParameterHtml) .


Release Notes

intlify/vue-i18n (vue-i18n)

v11.1.10

Compare Source

🔒 Security Fixes
  • fix: DOM-based XSS via tag attributes for escape parameter, about details see GHSA-x8qp-wqqm-57ph

Full Changelog: intlify/vue-i18n@v11.1.9...v11.1.10

v11.1.9

Compare Source

Full Changelog: intlify/vue-i18n@v11.1.8...v11.1.9

v11.1.8

Compare Source

What's Changed

⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v11.1.7...v11.1.8

v11.1.7

Compare Source

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v11.1.6...v11.1.7

v11.1.6

Compare Source

What's Changed

⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v11.1.5...v11.1.6

v11.1.5

Compare Source

What's Changed

🐛 Bug Fixes

Full Changelog: intlify/vue-i18n@v11.1.4...v11.1.5

v11.1.4

Compare Source

What's Changed

🌟 Features
⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v11.1.3...v11.1.4

v11.1.3

Compare Source

What's Changed

🐛 Bug Fixes
⚡ Improvement Features

Full Changelog: intlify/vue-i18n@v11.1.2...v11.1.3


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled because a matching PR was automerged previously.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@openverse-bot openverse-bot added dependencies Pull requests that update a dependency file 💻 aspect: code Concerns the software code in the repository 🟨 tech: javascript Involves JavaScript 🟩 priority: low Low priority and doesn't need to be rushed 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🧱 stack: frontend Related to the Nuxt frontend labels Oct 18, 2025
@openverse-bot openverse-bot requested a review from a team as a code owner October 18, 2025 14:36
@openverse-bot openverse-bot added 🟩 priority: low Low priority and doesn't need to be rushed 💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟨 tech: javascript Involves JavaScript labels Oct 18, 2025
@openverse-bot openverse-bot added the 🧱 stack: frontend Related to the Nuxt frontend label Oct 18, 2025
@openverse-bot openverse-bot moved this to 👀 Needs Review in Openverse PRs Oct 18, 2025
@github-actions
Copy link

github-actions bot commented Oct 18, 2025

Latest k6 run output1

     ✓ status was 200

     checks.........................: 100.00% ✓ 416      ✗ 0   
     data_received..................: 97 MB   404 kB/s
     data_sent......................: 54 kB   226 B/s
     http_req_blocked...............: avg=70.36µs  min=2.36µs   med=4.87µs   max=1.05ms   p(90)=202.22µs p(95)=560.64µs
     http_req_connecting............: avg=40.12µs  min=0s       med=0s       max=983.98µs p(90)=108.41µs p(95)=173.78µs
     http_req_duration..............: avg=153.51ms min=16.16ms  med=101.95ms max=981.86ms p(90)=330.65ms p(95)=418.33ms
       { expected_response:true }...: avg=153.51ms min=16.16ms  med=101.95ms max=981.86ms p(90)=330.65ms p(95)=418.33ms
   ✓ http_req_failed................: 0.00%   ✓ 0        ✗ 416 
     http_req_receiving.............: avg=175.82µs min=42.02µs  med=130.37µs max=10.03ms  p(90)=239.02µs p(95)=306.13µs
     http_req_sending...............: avg=30.67µs  min=8.47µs   med=21.64µs  max=2.32ms   p(90)=35.75µs  p(95)=48.02µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=153.31ms min=16.05ms  med=101.84ms max=981.55ms p(90)=330.45ms p(95)=418.07ms
     http_reqs......................: 416     1.725586/s
     iteration_duration.............: avg=825.65ms min=236.35ms med=905.78ms max=1.72s    p(90)=1.1s     p(95)=1.18s   
     iterations.....................: 78      0.323547/s
     vus............................: 3       min=0      max=6 
     vus_max........................: 60      min=60     max=60

Footnotes

  1. This comment will automatically update with new output each time k6 runs for this PR

@openverse-bot openverse-bot force-pushed the gha-renovatenpm-vue-i18n-vulnerability branch 12 times, most recently from b03a3ec to 5950cb4 Compare October 22, 2025 22:07
@openverse-bot openverse-bot force-pushed the gha-renovatenpm-vue-i18n-vulnerability branch 25 times, most recently from dc1acd9 to abce204 Compare November 16, 2025 05:08
@openverse-bot openverse-bot force-pushed the gha-renovatenpm-vue-i18n-vulnerability branch from abce204 to f17e27c Compare November 16, 2025 14:07
@dhruvkb dhruvkb merged commit 7d16e1b into main Nov 16, 2025
46 checks passed
@dhruvkb dhruvkb deleted the gha-renovatenpm-vue-i18n-vulnerability branch November 16, 2025 14:51
@github-project-automation github-project-automation bot moved this from 👀 Needs Review to 🤝 Merged in Openverse PRs Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 aspect: code Concerns the software code in the repository dependencies Pull requests that update a dependency file 🧰 goal: internal improvement Improvement that benefits maintainers, not users 🟩 priority: low Low priority and doesn't need to be rushed 🧱 stack: frontend Related to the Nuxt frontend 🟨 tech: javascript Involves JavaScript

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants