Cross-site scripting in Remix - CVE-2025-59057
Published: June 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript in the victim's browser.
The vulnerability exists due to cross-site scripting in the Meta component's meta() API for script:ld+json tag generation when rendering untrusted content during server-side rendering in Framework Mode. A remote attacker can supply crafted content to execute arbitrary JavaScript in the victim's browser.
This issue affects Framework Mode and does not affect Declarative Mode or Data Mode.
Affected software
React Router
python3.12-pillow-debugsource (Red Hat package)
Ansible Automation Platform
How to mitigate CVE-2025-59057
React Router - update to 7.9.0
python3.12-pillow-debugsource (Red Hat package) - update to 10.3.0-2.el9ap
Ansible Automation Platform - update to 2.6