{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-47075","id":"CVE-2024-47075","title":"DOM Clobbering gadgets found in layui that lead to Cross-site Scripting","description":"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.","descriptionLong":"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.","published":"2024-09-26T17:08:19.996Z","updated":"2026-11-11T10:30:38.399317204Z","reserved":"2024-09-17T17:42:37.029Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["layui"],"affectedProducts":[{"vendor":"layui","product":"layui","defaultStatus":null,"versions":[{"version":"< 2.9.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"layui","purl":"pkg:npm/layui","ranges":["<2.9.17"],"fixed":["2.9.17"],"advisory":"GHSA-j827-6rgf-9629"}],"cwes":["CWE-79"],"aliases":["GHSA-j827-6rgf-9629"],"references":[{"url":"https://github.com/layui/layui/security/advisories/GHSA-j827-6rgf-9629","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/layui/layui/commit/f756b41d63bf3d488a2cb042918638c9851bf2b0","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47075.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47075","tags":["advisory"]},{"url":"https://github.com/layui/layui","tags":["package"]},{"url":"https://layui.dev/notes/share/security-currentscript.html","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00339,"epssPercentile":0.27885,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-47075","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47075","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-47075","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j827-6rgf-9629","ok":true,"note":"GHSA-j827-6rgf-9629"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-47075","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}