漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
Vulnerability Description
Vue I18n is the internationalization plugin for Vue.js. In versions 9.14.5 and 10.0.8, and from 11.1.10 until 11.4.19 and 12.0.0-alpha.4 until 12.0.0-alpha.10, sanitizeTranslatedHtml() in packages/shared/src/sanitize.ts fails to inspect a javascript: URL when escapeParameter is enabled and an attacker-controlled translation ends with an unterminated href or src attribute value. When that translation is rendered as HTML during SSR, the browser continues tokenizing the value into later page markup, closes it at a later quote, and emits the element with the executable URL. This can cause stored XSS in the application origin, including an iframe variant that needs no user interaction. Client-only innerHTML fragment parsing is not affected because the incomplete tag is dropped at the end of the fragment. This issue is fixed in versions 11.4.19 and 12.0.0-alpha.10.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)