CVE-2023-26123
Summary
| CVE | CVE-2023-26123 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-04-14 05:15:00 UTC |
| Updated | 2023-11-07 04:09:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| ADDED: Security check for `emscripten_run_script()` #2954 · raysan5/raylib@b436c8d · GitHub | MISC | github.com | |
| Cross-site Scripting (XSS) in raysan5/raylib | CVE-2023-26123 | Snyk | MISC | security.snyk.io | |
| [core] JS Injection/XSS Vulnerability in SetClipboardText · Issue #2954 · raysan5/raylib · GitHub | MISC | github.com | |
| Release raylib v4.5 · raysan5/raylib · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.