Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
LiquidJS: An infinite loop vulnerability in `strip_html` filter
Vulnerability Description
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. From 10.26.0 until 10.27.1, the strip_html filter in src/filters/html.ts can enter an infinite loop when an input string contains <, includes at least one preceding character, and has no later >. In strip_html, the search for the next opener advances lt while the loop index remains unchanged when the closer search returns -1, and the equality-only stall guard does not exit because the loop index is less than lt. Reprocessing the same state indefinitely blocks template rendering and can cause denial of service with an input as short as a<. This issue is fixed in version 10.27.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
不可达退出条件的循环(无限循环)
Vulnerability Title
Yang Jun LiquidJS 资源管理错误漏洞
Vulnerability Description
Yang Jun LiquidJS是美国Yang Jun个人开发者的一款模板引擎。 Yang Jun LiquidJS 10.26.0至10.27.1之前版本存在资源管理错误漏洞,该漏洞源于src/filters/html.ts中的strip_html过滤器在处理包含'<'、至少一个前置字符且没有后续'>'的输入字符串时进入无限循环,可能导致拒绝服务。
CVSS Information
N/A
Vulnerability Type
N/A