cve/2023/CVE-2023-26123.md

18 lines
997 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-26123](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-26123)
![](https://img.shields.io/static/v1?label=Product&message=raysan5%2Fraylib&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%204.5.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
2024-06-22 09:37:59 +00:00
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.
2024-05-25 21:48:12 +02:00
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188
#### Github
No PoCs found on GitHub currently.