Read the docs
TI-2023-11348 Aliases CVE-2023-26123GHSA-62mx-2499-jrm4

Cross-site scripting in raysan5/raylib

Priority MEDIUM 60CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00584 48th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed raysan5/raylib: 4.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—raysan5/raylibbefore 4.5.04.5.0Patch availableCNA
  • raysan5/raylib Vendor— Affected before 4.5.0 Fixed in 4.5.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:raylib:raylib:*:*:*:*:*:*:*:*before 4.5.0VulnerableRaylib
  • cpe:2.3:a:raylib:raylib:*:*:*:*:*:*:*:* Versions before 4.5.0 Vulnerable ·Raylib

Remediation

  • Fix · CNA raysan5/raylib Fixed in 4.5.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-26123
  2. 2026-10-03 Alias added: GHSA-62mx-2499-jrm4

References

  • TI-2025-14173 raysan5 raylib rtext.c LoadFontData integer overflow CVSS 4.0MEDIUM 4.8
  • TI-2025-14172 raysan5 raylib rtext.c GenImageFontAtlas heap-based overflow CVSS 4.0MEDIUM 4.8

Sources