Ubuntu CVE Tracker
UBUNTU-CVE-2023-29400
This advisory was withdrawn on 18 July 2025.
Details
Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | golang-1.20 | All versions before 1.20.3-1ubuntu0.1~20.04 (fixed in 1.20.3-1ubuntu0.1~20.04) |
| Ubuntu:22.04:LTS | golang-1.20 | All versions before 1.20.3-1ubuntu0.1~22.04 (fixed in 1.20.3-1ubuntu0.1~22.04) |
References
- https://ubuntu.com/security/CVE-2023-29400
- https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU
- https://github.com/golang/go/issues/59722
- https://github.com/golang/go/commit/9db0e74f606b8afb28cc71d4b1c8b4ed24cabbf5
- https://github.com/golang/go/commit/337dd75343145b74ed2073d793322eb4103b56ad
- https://ubuntu.com/security/notices/USN-6140-1
- https://www.cve.org/CVERecord?id=CVE-2023-29400