Skip to content
Tech News
← Back to articles

Sourcehut patches XSS flaw in ansi2html that enabled wormable account takeovers

read original more articles
GoKawiil Brief

A security researcher discovered a cross-site scripting vulnerability in the ansi2html tool used to render build logs on builds.sr.ht and other Sourcehut instances. The flaw let anyone inject malicious text into a build log, which would then execute in the browser of any user who viewed it, potentially hijacking their account and spreading further through the same mechanism.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

Because build logs are often shared or viewed by multiple collaborators, a self-propagating exploit like this could have spread across projects and teams before anyone noticed, according to the researcher's writeup. The case highlights how supporting tools like log renderers, not just core application code, can introduce serious security risks in developer platforms.

Key Takeaways

Source: blog.arusekk.pl, 2026-09-24

Published there as: “Sourcehut account takeover via build logs (XSS in ansi2html)”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.