CVE-2023-26123
Last modified
CVE-2023-26123 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 0.58% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Raylib | Raylib | < 4.5.0 |
References
- https://github.com/raysan5/raylib/issues/2954Exploit, Issue Tracking, Third Party Advisory
- https://github.com/raysan5/raylib/releases/tag/4.5.0Release Notes
- https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188Exploit, Patch, Third Party Advisory
- https://github.com/raysan5/raylib/issues/2954Exploit, Issue Tracking, Third Party Advisory
- https://github.com/raysan5/raylib/releases/tag/4.5.0Release Notes
- https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-26123?
How severe is CVE-2023-26123?
How do I fix CVE-2023-26123?
Are you affected by CVE-2023-26123?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
