{"id":"JLSEC-2026-529","details":"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.","modified":"2026-05-26T18:45:03.764515129Z","published":"2026-05-26T18:32:56.721Z","upstream":["CVE-2023-26123"],"database_specific":{"sources":[{"modified":"2025-02-06T21:15:18.370Z","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26123","imported":"2026-05-24T08:59:51.411Z","id":"CVE-2023-26123","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2023-26123","published":"2023-04-14T05:15:13.867Z","database_specific":{"status":"Modified"}}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d"},{"type":"WEB","url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d"},{"type":"WEB","url":"https://github.com/raysan5/raylib/issues/2954"},{"type":"WEB","url":"https://github.com/raysan5/raylib/issues/2954"},{"type":"WEB","url":"https://github.com/raysan5/raylib/releases/tag/4.5.0"},{"type":"WEB","url":"https://github.com/raysan5/raylib/releases/tag/4.5.0"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188"}],"affected":[{"package":{"name":"Raylib_jll","ecosystem":"Julia","purl":"pkg:julia/Raylib_jll?uuid=f9cae4b5-603c-5a13-b73f-1dfe71482639"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.5.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-529.json"}}],"schema_version":"1.7.5"}