Vulnerability library
Security checkJanuary 08, 2024

Layui cross-site scripting (XSS) vulnerability

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

layui up to v2.74 was discovered to contain a cross-site scripting (XSS) vulnerability via the data-content parameter.

Recommendation

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

  • Affected version(s): <= 2.7.4
  • Patched version(s): 2.7.5

References

Could your website be exposed too?

SmartScanner can check your website for Layui cross-site scripting (XSS) vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 08, 2024