{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26123 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2023-26123 is a medium-severity cross-site scripting vulnerability in raysan5/raylib, published on 14 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-26123 and fix it if it is affected.\n\nWhat it is: CVE-2023-26123 is a medium-severity cross-site scripting vulnerability in raysan5/raylib, published on 14 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26123 exists.\n\nAffected product: raysan5/raylib. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-26123/ (Markdown: https://insights.sbomify.com/CVE-2023-26123/index.md)","id":"CVE-2023-26123","markdown":"https://insights.sbomify.com/CVE-2023-26123/index.md","name":"CVE-2023-26123","record":{"aliases":["GHSA-62mx-2499-jrm4","JLSEC-2026-529"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"raylib game library","requires_auth":"none","summary":"An XSS vulnerability in raylib's SetClipboardText API allows arbitrary JavaScript execution when compiled for the web platform.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"raylib","vendor":"raylib"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in raysan5/raylib","id":"CVE-2023-26123","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Improper input validation in github.com/gin-gonic/gin","id":"CVE-2023-26125"},"packages":[],"prev":{"headline":"safe-eval vulnerable to Sandbox Bypass due to improper input sanitization","id":"CVE-2023-26122"},"products":["raysan5/raylib"],"published":"2023-04-14","related":[{"cvss_score":4.8,"headline":"raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow","id":"CVE-2025-15533","kev_date_added":null,"published":"2026-01-18"},{"cvss_score":4.8,"headline":"raysan5 raylib rtext.c LoadFontData integer overflow","id":"CVE-2025-15534","kev_date_added":null,"published":"2026-01-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-06","vendors":["n/a"]},"summary":"An XSS vulnerability in raylib's SetClipboardText API allows arbitrary JavaScript execution when compiled for the web platform.","url":"https://insights.sbomify.com/CVE-2023-26123/"}