Vulnerability library
Security checkNovember 05, 2023

layui vulnerable to cross-site scripting

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmlayui

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the layui package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.8.0
  • Patched version(s): 2.8.0

References

Could your website be exposed too?

SmartScanner can check your website for layui vulnerable to cross-site scripting and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 05, 2023