{ "schema_version": "1.4.0", "id": "GHSA-62mx-2499-jrm4", "modified": "2024-04-04T03:27:48Z", "published": "2023-04-14T06:30:15Z", "aliases": [ "CVE-2023-26123" ], "details": "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.\n\n**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26123" }, { "type": "WEB", "url": "https://github.com/raysan5/raylib/issues/2954" }, { "type": "WEB", "url": "https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d" }, { "type": "WEB", "url": "https://github.com/raysan5/raylib/releases/tag/4.5.0" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2023-04-14T05:15:00Z" } }