Vulnerabilities/

vue-i18n's escapeParameterHtml does not prevent DOM-based XSS through its tag attributes (GHSA-x8qp-wqqm-57ph) 4

Severity:
Medium

Description

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.

Recommendation

Update the vue-i18n package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
vue-i18n
Anything's wrong? Let us know Last updated on July 17, 2025

This issue is available in SmartScanner Professional

See Pricing