CVE-2026-44245

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

Published May 12, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Kyverno versions prior to 2.5.2 allow stored cross‑site scripting through the PropertyCard component. The component uses Vue's v-html to render arbitrary strings from a policy report's properties field without escaping. An attacker with permission to write PolicyReport objects can inject a payload that executes when the issuer's UI loads, potentially hijacking accounts, leaking data, and executing arbitrary scripts. This is a classic stored XSS vulnerability, classified as CWE-79.

Affected Systems

Kyverno policy engine before 2.5.2, including the policy‑reporter‑ui component, is affected. All installations of Kyverno that have not applied the 2.5.2 (or newer) release are vulnerable.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity. With no publicly available exploit and no listing in the CISA KEV catalog, the likelihood of exploitation depends on a cluster principal possessing write access to PolicyReport objects. An attacker could craft a malicious policy report that injects script fragments; when the UI is rendered, the script runs in the context of the viewer's browser, enabling credential theft or session hijacking.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kyverno to version 2.5.2 or later, which removes the vulnerable use of v-html.
  • Restrict write permissions on PolicyReport objects to only trusted principals to limit the ability to inject malicious content.
  • If an immediate upgrade is not possible, sanitize or strip raw HTML from any property values before rendering by modifying the PropertyCard component or applying a custom UI patch.

Generated by OpenCVE AI on May 13, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-q98m-7w8c-w388 Kyverno policy-reporter-ui has XSS via Stored Property Values in PropertyCard Component
History
Type Values Removed Values Added
First Time appeared Kyverno policy-reporter-ui
CPEs cpe:2.3:a:kyverno:policy-reporter-ui:*:*:*:*:*:*:*:*
Vendors & Products Kyverno policy-reporter-ui
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kyverno
Kyverno kyverno
Vendors & Products Kyverno
Kyverno kyverno
Type Values Removed Values Added
Description 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.
Title Kyverno: [policy-reporter-ui] XSS via Stored Property Values in PropertyCard Component
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 13, 2026, 2:33 PM
Reserved
May 5, 2026, 4:33 PM
Status
Analyzed
Published
May 12, 2026, 11:16 PM
Modified
Nov 11, 2026, 8:10 PM