PT-2023-20504

CVE-2023-26123

·

Published

2023-04-14

·

Updated

2023-04-21

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions raysan5/raylib versions prior to 4.5.0
Description The issue is related to Cross-site Scripting (XSS) where the SetClipboardText API does not properly escape the character, allowing attacker-controlled input to break out of the string and execute arbitrary JavaScript via theemscripten run script` function. This vulnerability is present only when compiling raylib for PLATFORM WEB, and all other Desktop/Mobile/Embedded platforms are not affected.
Recommendations For versions prior to 4.5.0, update to version 4.5.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the SetClipboardText API when compiling for PLATFORM WEB until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾