CVE-2023-26123

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

Configuration 1 (hide)

cpe:2.3:a:raylib:raylib:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:50

Type Values Removed Values Added
References () https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d - Patch () https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d - Patch
References () https://github.com/raysan5/raylib/issues/2954 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/raysan5/raylib/issues/2954 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/raysan5/raylib/releases/tag/4.5.0 - Release Notes () https://github.com/raysan5/raylib/releases/tag/4.5.0 - Release Notes
References () https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188 - Exploit, Patch, Third Party Advisory () https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188 - Exploit, Patch, Third Party Advisory

21 Apr 2023, 03:45

Type Values Removed Values Added
New CVE

Information

Published : 2023-04-14 05:15

Updated : 2025-02-06 21:15


NVD link : CVE-2023-26123

Mitre link : CVE-2023-26123

CVE.ORG link : CVE-2023-26123


JSON object : View

Products Affected

raylib

  • raylib
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')