layui CVE Vulnerabilities & Metrics

Focus on layui vulnerabilities and metrics.

Last updated: 21 Aug 2025, 22:25 UTC

About layui Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with layui. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total layui CVEs: 3
Earliest CVE date: 16 Jul 2023, 17:15 UTC
Latest CVE date: 26 Sep 2024, 18:15 UTC

Latest CVE reference: CVE-2024-47075

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 1

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 0.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 0.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical layui CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 1.33

Max CVSS: 4.0

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 2
4.0-6.9 1
7.0-8.9 0
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS layui CVEs

These are the five CVEs with the highest CVSS scores for layui, sorted by severity first and recency.

All CVEs for layui

CVE-2024-47075 layui vulnerability CVSS: 0 26 Sep 2024, 18:15 UTC

LayUI is a native minimalist modular Web UI component library. Versions prior to 2.9.17 have a DOM Clobbering vulnerability that can lead to Cross-site Scripting (XSS) on web pages where attacker-controlled HTML elements (e.g., `img` tags with unsanitized `name` attributes) are present. Version 2.9.17 fixes this issue.

CVE-2023-50550 layui vulnerability CVSS: 0 30 Dec 2023, 16:15 UTC

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

CVE-2023-3691 layui vulnerability CVSS: 4.0 16 Jul 2023, 17:15 UTC

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.