MODERATE 5.4
CVE-2023-50550
Layui cross-site scripting (XSS) vulnerability
Description
layui up to v2.74 was discovered to contain a cross-site scripting (XSS) vulnerability via the data-content parameter.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » layuivia npm layui | < 2.7.5 | 2.7.5 |
| org.webjars » layuivia npm layui | < 2.7.5 | 2.7.5 |
| org.webjars.npm » layuivia npm layui | < 2.7.5 | 2.7.5 |
Blast radius
2affected artifacts
15affected versions
5dependent artifacts (est.)
172dependent versions
60% of the dependent artifacts (3) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 171 |
| 2 hops | 1 |
Most used dependents
- com.github.mengweijin » quickboot-layui1 usages
- io.github.wywuzh » commons-static-layui0 usages
- com.github.wywuzh » commons-static-layui0 usages
- pub.ihub.lib » ihub-sso-server-spring-boot-starter0 usages
- com.github.mengweijin » logging-previewer0 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2023-50550 | nvd.nist.gov |
| Package | layui/layui | github.com |
| Web | layui/layui/issues/I8M1C2 | gitee.com |
| Web | layui/layui/issues | gitee.com |
