Security Advisory

CVE-2023-26123

CVE vulnerability detail - eXtreme Datacenter Security Operations

Published 2023-04-14 05:00:01
Last updated 2025-02-06 20:42:47
Assigner snyk
CVSS score 6.1
State PUBLISHED

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.