# JLSEC-2026-529: Versions of the package raysan5/raylib before 4.5.0 are vulnerable to Cross-site Scripting (XSS) such that the SetClipboardText API does no…

- Severity: Medium 6.1 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-05-26T18:32:56.721Z
- Modified: 2026-07-25T18:24:35.921Z
- Related: CVE-2023-26123

## 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.

**Note:** This vulnerability is present only when compiling raylib for `PLATFORM_WEB`. All the other Desktop/Mobile/Embedded platforms are not affected.

(As written by Julia Security Advisories.)

## Affected

- Raylib_jll (Julia): before 5.5.0+0

## References

- <https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d> (web)
- <https://github.com/raysan5/raylib/issues/2954> (web)
- <https://github.com/raysan5/raylib/releases/tag/4.5.0> (web)
- <https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-529](https://osv.dev/vulnerability/JLSEC-2026-529), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-529 · Whole record: https://cve.day/JLSEC-2026-529.json · Rebuilt by cve.day 2026-11-25T22:56:26.149Z
