{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26123","id":"CVE-2023-26123","title":"Versions of the package raysan5/raylib before 4.5.0 are vulnerable to Cross-site Scripting (XSS) such that the SetCli…","description":"Versions of the package raysan5/raylib before 4.5.0 are vulnerable to Cross-site Scripting (XSS) such that the SetClipboardText API does not properly escape the ' character, allowing attacker-controlled input to break out of the string and execute arbitrary JavaScript via emscripten_run_script function.\r\r**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the o","descriptionLong":"Versions of the package raysan5/raylib before 4.5.0 are vulnerable to Cross-site Scripting (XSS) such that the SetClipboardText API does not properly escape the ' character, allowing attacker-controlled input to break out of the string and execute arbitrary JavaScript via emscripten_run_script function.\r\r**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected.","published":"2023-04-14T05:00:01.188Z","updated":"2026-10-28T10:38:36.775893822Z","reserved":"2023-02-20T10:28:48.923Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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/E:P","rating":"medium","source":"snyk"},"metrics":[{"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/E:P","rating":"medium","source":"snyk"},{"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":"snyk.io"},{"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.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","rating":"medium","source":"OSV"}],"rating":"medium","products":["raysan5/raylib"],"affectedProducts":[{"vendor":"n/a","product":"raysan5/raylib","defaultStatus":null,"versions":[{"version":"0","lessThan":"4.5.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/raysan5/raylib/issues/2954","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/raysan5/raylib/releases/tag/4.5.0","tags":["x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26123.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26123","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00584,"epssPercentile":0.48818,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26123","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26123","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26123","ok":true,"note":"0 packages"},{"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-2023-26123","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}