GHSA-h58c-xccx-75m3: Coder Stored HTML Injection Vulnerability
LOWGHSA-h58c-xccx-75m3 is a LOW (CVSS 3.4) stored html injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Coder libraries in the Go ecosystem. The issue involves stored html injection via unescaped applicationname and logourl appearance settings. Remediation is available by upgrading affected packages to version 2.32.7, 2.29.17, 2.34.2, 2.33.8.
GHSA-h58c-xccx-75m3 at a Glance
Security Impact
CVSS: 3.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N).
How to Fix GHSA-h58c-xccx-75m3
To remediate this vulnerability, upgrade all affected Coder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/coder/coder/v2 to 2.32.7
Upgrade github.com/coder/coder/v2 to 2.29.17
Upgrade github.com/coder/coder/v2 to 2.34.2
Upgrade github.com/coder/coder/v2 to 2.33.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/coder/coder/v2
How to Check if You Are Affected
To determine whether your application is affected by GHSA-h58c-xccx-75m3, inspect your project dependencies for Coder:
inspect dependencies for github.com/coder/coder/v2
Analyze the terminal output to locate any version of Coder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.32.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Coder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-h58c-xccx-75m3 Affected Coder Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/coder/coder/v2
|
Go |
≥ 2.30.0
< 2.32.7
|
2.32.7
|
|
github.com/coder/coder/v2
|
Go |
< 2.29.17
|
2.29.17
|
|
github.com/coder/coder/v2
|
Go |
≥ 2.34.0
< 2.34.2
|
2.34.2
|
|
github.com/coder/coder/v2
|
Go |
≥ 2.33.0
< 2.33.8
|
2.33.8
|
References
Frequently Asked Questions
What is GHSA-h58c-xccx-75m3?
Which Coder versions are affected?
What version fixes GHSA-h58c-xccx-75m3?
Is github.com/coder/coder/v2 affected?
What is the CVSS score of GHSA-h58c-xccx-75m3?
What CWE is associated with GHSA-h58c-xccx-75m3?
How can I check Go dependencies for GHSA-h58c-xccx-75m3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h58c-xccx-75m3",
"modified" : "2026-08-20T18:34:26Z",
"published" : "2026-08-20T18:34:26Z",
"aliases" : [ ],
"summary" : "Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings",
"details" : "### Summary\n\nThe `ApplicationName` and `LogoURL` appearance settings were rendered into HTML output without sufficient escaping which let a highly privileged Owner-role user inject HTML into the Coder dashboard and SMTP notification emails.\n\n> **Note:** Exploitation requires the `Owner` role which already holds full administrative control of the deployment so practical impact is limited.\n\n### Impact\n\nAn Owner-role user could store HTML markup in the `ApplicationName` or `LogoURL` appearance settings that later rendered in the dashboard and in SMTP notification emails which results in stored HTML injection against other users of the deployment. Exploitation requires the highly privileged `Owner` role.\n\n### Patches\n\nThe fix escapes the `ApplicationName` and `LogoURL` appearance values in HTML output before rendering.\n\nThe fix was backported to all supported release lines:\n\n| Release line | Patched version |\n|---|---|\n| 2.34 | [v2.34.2](https://github.com/coder/coder/releases/tag/v2.34.2) |\n| 2.33 | [v2.33.8](https://github.com/coder/coder/releases/tag/v2.33.8) |\n| 2.32 | [v2.32.7](https://github.com/coder/coder/releases/tag/v2.32.7) |\n| 2.29 (ESR) | [v2.29.17](https://github.com/coder/coder/releases/tag/v2.29.17) |\n\n### Workarounds\n\nRestrict the `Owner` role to trusted administrators.\n\n### References\n\n- Fix: #25804\n\n### Credits\n\nWe'd like to thank Anthropic's Security Team (ANT-2026-22453) for independently disclosing this issue!",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.34.0"
}, {
"fixed" : "2.34.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.33.0"
}, {
"fixed" : "2.33.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.30.0"
}, {
"fixed" : "2.32.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/coder/coder/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.29.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/coder/coder/security/advisories/GHSA-h58c-xccx-75m3"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/pull/25804"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/commit/ec19bc41d80568c0eb9f74b526e8cc8ffbe3be9a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/coder/coder"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.29.17"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.32.7"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.33.8"
}, {
"type" : "WEB",
"url" : "https://github.com/coder/coder/releases/tag/v2.34.2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-20T18:34:26Z",
"nvd_published_at" : null
}
}