VDB
Sign up
MEDIUM6.1

GHSA-hx4h-676r-j3qp

layui vulnerable to cross-site scripting

Quick fix

GHSA-hx4h-676r-j3qp — layui: upgrade to the fixed version with the command below.

npm install layui@2.8.0

Details

A vulnerability, which was classified as problematic, was found in layui up to v2.8.0-rc.16. This affects an unknown part of the component HTML Attribute Handler. The manipulation of the argument title leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.8.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-234237 was assigned to this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/layui
Introduced in: 0Fixed in: 2.8.0
Fixnpm install layui@2.8.0

References