CVE-2023-26123 MEDIUM

CVE-2023-26123

Vendor N/A
Product raysan5/raylib
Weakness CWE-79 · XSS
Published April 14, 2023
Last update February 6, 2025

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 14, 2023 CVE published
February 6, 2025 Record updated

Related vulnerabilities

04Related CVE