{"id":"CVE-2023-26123","aliases":["CVE-2023-26123"],"related":[],"kind":"vulnerability","state":"published","title":"Versions of the package raysan5/raylib before 4.5.0 are vulnerable to Cross-site Scripting (XSS) such that the SetClipboardText API does no…","summary":"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.\n\n**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected.","source":"cvelist"}],"published":"2023-04-14T05:00:01.188Z","modified":"2026-06-17T05:42:43.750Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.5.0","status":"affected"}],"product":"raysan5/raylib","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.5.0"}],"vendor":"raylib","product":"raylib","cpe":"cpe:2.3:a:raylib:raylib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188","tags":["exploit","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/raysan5/raylib/issues/2954","tags":["exploit","issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/raysan5/raylib/releases/tag/4.5.0","tags":["release-notes","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Eugene Lim"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-02-06T20:42:43.078Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-26123","url":"https://www.cve.org/CVERecord?id=CVE-2023-26123","licence":"CVE Terms of Use","modified":"2025-02-06T20:42:47.318Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-26123","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26123","licence":"Public domain","modified":"2026-06-17T05:42:43.750Z"}],"updatedAt":"2026-11-25T22:58:23.489Z","epss":{"score":0.00584,"percentile":0.49265,"date":"2026-12-01T12:00:22.000Z"}}