BSD Ports

www/gohugo -- CWE-79: XSS vulnerabilities

· CVE-2026-39823, CVE-2026-39826 · VuXML entry

https://go.dev/issue/78913 reports: CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, leading to XSS. If a trusted template author were to write a <script> tag containing an empty 'type' …

Affected versions

By system

1 still vulnerable, 1 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlywww/gohugo0.145.0_1,1 vulnerable since 2026-05-29
FreeBSDwww/gohugo0.168.0_1,1 fixed (41 days after)