CVE-2023-3691
layui vulnerable to cross-site scripting
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. It is recommended to upgrade the affected component. The identifier VDB-234237 was assigned to this vulnerability.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » layuivia npm layui | < 2.8.0 | 2.8.0 |
| org.webjars » layuivia npm layui | < 2.8.0 | 2.8.0 |
| org.webjars.npm » layuivia npm layui | < 2.8.0 | 2.8.0 |
Blast radius
66% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 173 |
| 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
- io.github.taoyua » logindemo0 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-3691 | nvd.nist.gov |
| Package | layui/layui | github.com |
| Web | layui/layui/issues/I7HDXZ | gitee.com |
| Web | layui/layui/tree/v2.8.0 | gitee.com |
| Web | vuldb.com | vuldb.com |
| Web | vuldb.com | vuldb.com |
