{"id":"JLSEC-2026-529","aliases":["JLSEC-2026-529"],"related":["CVE-2023-26123"],"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.","summaryFormat":"markdown","summarySource":"jlsec","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.","format":"markdown","source":"jlsec"}],"published":"2026-05-26T18:32:56.721Z","modified":"2026-07-25T18:24:35.921Z","severity":{"scorer":"Julia Security Advisories","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"},"severities":[{"scorer":"Julia Security Advisories","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":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.5.0+0"}],"ecosystem":"Julia","package":"Raylib_jll","purl":"pkg:julia/Raylib_jll?uuid=f9cae4b5-603c-5a13-b73f-1dfe71482639","source":"jlsec"}],"references":[{"url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/raysan5/raylib/issues/2954","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/raysan5/raylib/releases/tag/4.5.0","tags":["web"],"sources":["jlsec"]},{"url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-529","url":"https://osv.dev/vulnerability/JLSEC-2026-529","licence":"CC-BY-4.0","modified":"2026-07-25T18:24:35.921Z"}],"updatedAt":"2026-11-25T22:56:26.149Z"}