3.5low
layui HTML Attribute cross site scripting
- Severity
- 3.5low CVSS:3.1 by VulDB
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-hx4h-676r-j3qp
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
| Product or package | Versions | Reported by |
|---|---|---|
| layui | v2.8.0-rc.0, v2.8.0-rc.1, v2.8.0-rc.2, v2.8.0-rc.3, v2.8.0-rc.4, v2.8.0-rc.5, v2.8.0-rc.6, v2.8.0-rc.7 and 9 more | CVE List |
| layui (npm) | before 2.8.0 | GitHub Advisory Database |
| layui layui | before 2.8.0, 2.8.0 | NVD |
All scores
| VulDB | 3.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
| VulDB | 3.5low CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
| VulDB | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
CVE List (de)
Es wurde eine problematische Schwachstelle in layui bis v2.8.0-rc.16 gefunden. Es geht dabei um eine nicht klar definierte Funktion der Komponente HTML Attribute Handler. Durch die Manipulation des Arguments title mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk passieren. Ein Aktualisieren auf die Version 2.8.0 vermag dieses Problem zu lösen. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
NVD (es)
Se ha encontrado una vulnerabilidad, clasificada como problemática, en layui hasta la versión 2.8.0-rc.16. Esto afecta a una parte desconocida del componente "HTML Attribute Handler". La manipulación del argumento "title" conduce a Cross-Site Scripting. Es posible iniciar el ataque de forma remota. La actualización a la versión 2.8.0 soluciona este problema. Se recomienda actualizar el componente afectado. Se ha asignado el identificador VDB-234237 a esta vulnerabilidad.
References
| https://vuldb.com/?id.234237 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.234237 | permissions-required, signature, third-party-advisory, web | |
| https://gitee.com/layui/layui/issues/I7HDXZ | exploit, issue-tracking, third-party-advisory, web | |
| https://gitee.com/layui/layui/tree/v2.8.0 | patch, product, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-3691 | advisory | |
| https://github.com/layui/layui | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-3691 changed 2024-10-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hx4h-676r-j3qp changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-3691 changed 2026-06-17 | Public domain |