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 th…
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Produkte · Raylib
| Produkt | Betroffene Versionen |
|---|---|
| Raylib | vor 4.5.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d
- https://github.com/raysan5/raylib/issues/2954
- https://github.com/raysan5/raylib/releases/tag/4.5.0
- https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188
- https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d
- https://github.com/raysan5/raylib/issues/2954
- https://github.com/raysan5/raylib/releases/tag/4.5.0
- https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188