Hashgraph Guardian Stored XSS via branding companyName field
Hashgraph Guardian through 3.6.0, fixed in commit ba8c566, contains a stored cross-site scripting vulnerability that allows authenticated users with the STANDARD_REGISTRY role to inject malicious scripts by submitting a crafted companyName value via the branding configuration API endpoint. Attackers can exploit the unsanitized innerHTML assignment in the branding service to execute arbitrary JavaScript in the browser of every authenticated user on every page load.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-22674
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:33 UTC · Revision 1
Source evidence
Hashgraph Guardian Stored XSS via branding companyName field
core-osv · Original sourcePublished 18 Jun 2026, 21:08 UTC
Hashgraph Guardian through 3.6.0, fixed in commit ba8c566, contains a stored cross-site scripting vulnerability that allows authenticated users with the STANDARD_REGISTRY role to inject malicious scripts by submitting a crafted companyName value via the branding configuration API endpoint. Attackers can exploit the unsanitized innerHTML assignment in the branding service to execute arbitrary JavaScript in the browser of every authenticated user on every page load.
osv:CVE-2026-22674
Complete source record
{
"id": "67172121999ac3bb407f746e169a8510109b4682183c3148970a3136637f3fa9",
"url": "https://osv.dev/vulnerability/CVE-2026-22674",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Hashgraph Guardian Stored XSS via branding companyName field",
"summary": "Hashgraph Guardian through 3.6.0, fixed in commit ba8c566, contains a stored cross-site scripting vulnerability that allows authenticated users with the STANDARD_REGISTRY role to inject malicious scripts by submitting a crafted companyName value via the branding configuration API endpoint. Attackers can exploit the unsanitized innerHTML assignment in the branding service to execute arbitrary JavaScript in the browser of every authenticated user on every page load.",
"evidence": "osv:CVE-2026-22674",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-22674",
"aliases": [
"CVE-2026-22674"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/hashgraph/guardian",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ba8c566807848cf84360716438056d8d8d2c8362"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "ba8c566807848cf84360716438056d8d8d2c8362"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.4.0",
"v3.4.0-rc",
"v3.3.0",
"v3.3.0-rc",
"v3.2.0",
"v3.2.0-rc",
"v3.2.0-RC",
"v3.1.1",
"v3.1.0",
"v3.1.0-RC",
"v3.0.0",
"v2.27.1",
"v2.27.0",
"v2.26.2",
"v2.26.1",
"v2.26.0",
"v2.25.1",
"v2.25.0",
"v2.24.1",
"v2.24.0",
"v1.0.0",
"v1.0.0-beta.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22674.json"
}
}
],
"modified": "2026-10-28T02:30:52.242223047Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22674.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-22674",
"https://www.vulncheck.com/advisories/hashgraph-guardian-stored-xss-via-branding-companyname-field",
"https://github.com/hashgraph/guardian/pull/6190",
"https://github.com/hashgraph/guardian/commit/ba8c566807848cf84360716438056d8d8d2c8362",
"https://github.com/hashgraph/guardian"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22674.json"
}
},
"related_cves": [
{
"value": "CVE-2026-22674",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521001,
"published_at": "2026-06-18T21:08:05.431+00:00"
}