Intel

AIKIDO-2024-10497

@intlify/core-base is vulnerable to XSS vulnerability with Prototype Pollution

XSS vulnerability with Prototype PollutionCVE-2024-52809 Published Dec 2, 2024

80

High Risk

This Affects:

js@intlify/core-base
9.3.0 - 9.14.1
Fixed in 9.14.2
10.0.0 - 10.0.4
Fixed in 10.0.5
Are you affected? Scan for Free

TL;DR

Affected versions of @intlify/core-base are vulnerable to Cross-site Scripting (XSS) when using locale message Abstract Syntax Trees (AST) in development mode or custom ASTs. The createI18n and useI18n functions allow passing locale messages, which are compiled into ASTs for performance optimization during production builds using plugins like @intlify/unplugin-vue-i18n. However, if these ASTs are not precompiled or are manipulated by a third party, there is a risk of XSS.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@intlify/core-base is vulnerable to XSS vulnerability with Prototype Pollution in versions 9.3.0 - 9.14.1 and 10.0.0 - 10.0.4.

How to fix this

Upgrade the @intlify/core-base library to the patch version.