{"id":"CVE-2023-26123","state":"PUBLISHED","title":"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, allowi","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.\r\r**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected.","publishedAt":"2023-04-14T05:00:01.188Z","updatedAt":"2025-02-06T20:42:47.318Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","source":"snyk"},"assigner":"snyk","products":["n/a raysan5/raylib"],"affected":[{"vendor":"n/a","product":"raysan5/raylib","versions":[{"version":"0","status":"affected","lessThan":"4.5.0","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188","https://github.com/raysan5/raylib/issues/2954","https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d","https://github.com/raysan5/raylib/releases/tag/4.5.0"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26123.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26123","state":"PUBLISHED","datePublished":"2023-04-14T05:00:01.188Z","dateUpdated":"2025-02-06T20:42:47.318Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-02-20T10:28:48.923Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\r\r**Note:** This vulnerability is present only when compiling raylib for PLATFORM_WEB. All the other Desktop/Mobile/Embedded platforms are not affected."}],"affected":[{"vendor":"n/a","product":"raysan5/raylib","versions":[{"version":"0","status":"affected","lessThan":"4.5.0","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188"},{"url":"https://github.com/raysan5/raylib/issues/2954"},{"url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d"},{"url":"https://github.com/raysan5/raylib/releases/tag/4.5.0"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Cross-site Scripting (XSS)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-04-14T05:00:01.188Z"},"credits":[{"value":"Eugene Lim","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-UNMANAGED-RAYSAN5RAYLIB-5421188","tags":["x_transferred"]},{"url":"https://github.com/raysan5/raylib/issues/2954","tags":["x_transferred"]},{"url":"https://github.com/raysan5/raylib/commit/b436c8d7e5346a241b00511a11585936895d959d","tags":["x_transferred"]},{"url":"https://github.com/raysan5/raylib/releases/tag/4.5.0","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.852Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-06T20:42:43.078446Z","id":"CVE-2023-26123","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-06T20:42:47.318Z"}}]}}}