티스토리 수익 글 보기

티스토리 수익 글 보기

Update dependency vue-i18n to v11.1.10 [SECURITY] by openverse-bot · Pull Request #5523 · WordPress/openverse · GitHub
Skip to content

Conversation

@openverse-bot
Copy link
Collaborator

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 labels Nov 23, 2025
@openverse-bot openverse-bot requested a review from a team as a code owner November 23, 2025 14:37
@openverse-bot openverse-bot added the 🧱 stack: frontend Related to the Nuxt frontend label Nov 23, 2025
@openverse-bot openverse-bot moved this to 👀 Needs Review in Openverse PRs Nov 23, 2025
@github-actions
Copy link

Latest k6 run output1

     ✓ status was 200

     checks.........................: 100.00% ✓ 410      ✗ 0   
     data_received..................: 96 MB   397 kB/s
     data_sent......................: 54 kB   223 B/s
     http_req_blocked...............: avg=72.22µs  min=2.38µs   med=5.14µs   max=1.47ms   p(90)=150.84µs p(95)=516.95µs
     http_req_connecting............: avg=60.25µs  min=0s       med=0s       max=1.4ms    p(90)=102.64µs p(95)=478.14µs
     http_req_duration..............: avg=159.13ms min=20.2ms   med=101.12ms max=1s       p(90)=358.58ms p(95)=463.28ms
       { expected_response:true }...: avg=159.13ms min=20.2ms   med=101.12ms max=1s       p(90)=358.58ms p(95)=463.28ms
   ✓ http_req_failed................: 0.00%   ✓ 0        ✗ 410 
     http_req_receiving.............: avg=177.99µs min=56.33µs  med=149µs    max=1.1ms    p(90)=278.59µs p(95)=384.64µs
     http_req_sending...............: avg=29.38µs  min=6.88µs   med=23.13µs  max=150.28µs p(90)=49.55µs  p(95)=80.27µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=158.92ms min=20.06ms  med=100.96ms max=1s       p(90)=358.4ms  p(95)=462.9ms 
     http_reqs......................: 410     1.701932/s
     iteration_duration.............: avg=865.76ms min=269.43ms med=903.52ms max=1.75s    p(90)=1.16s    p(95)=1.22s   
     iterations.....................: 76      0.31548/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

@dhruvkb dhruvkb merged commit 693819d into main Nov 23, 2025
81 checks passed
@dhruvkb dhruvkb deleted the gha-renovatenpm-vue-i18n-vulnerability branch November 23, 2025 20:00
@github-project-automation github-project-automation bot moved this from 👀 Needs Review to 🤝 Merged in Openverse PRs Nov 23, 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