Cross-Site Scripting Vulnerability in Hackage-Server by Haskell
CVE-2026-40470
9.9CRITICAL
What is CVE-2026-40470?
An XSS vulnerability was discovered that affects Hackage-Server and its associated website, hackage.haskell.org. This flaw arises from the insecure serving of HTML and JavaScript files embedded in source packages or uploaded documentation, which allows for manipulation by malicious actors. If users with valid HTTP credentials navigate to these compromised package pages, their active sessions can be hijacked. This potentially enables attackers to perform unauthorized actions, including uploading malicious packages or modifying package metadata, putting user security at high risk.
