Skip to content
OpenAdvisories
Medium · 6.1 CVE-2023-26123 EUVD-2023-29975GHSA-62mx-2499-jrm4

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

Published Apr 14, 2023 · Updated Feb 6, 2025 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— raysan5/raylib < 4.5.0 4.5.0

References