Stored XSS via unsanitized PDF table cells
Published May 27, 2025 · Updated Feb 27, 2026
Stored XSS in StackRox and Red Hat Advanced Cluster Security allows attackers to run scripts when a user exports affected table data to PDF. The PDF table builder in ui/apps/platform/src/utils/pdfUtils.js assigns flattened column values, including Kubernetes Role names, to a cell's innerHTML without sanitizing them. A Role bearing the payload must reach a secured cluster, and a user must export the affected view; the script then runs in that user's rendering context.
Summary
What happened
Stored XSS in StackRox and Red Hat Advanced Cluster Security allows attackers to run scripts when a user exports affected table data to PDF. The PDF table builder in ui/apps/platform/src/utils/pdfUtils.js assigns flattened column values, including Kubernetes Role names, to a cell's innerHTML without sanitizing them. A Role bearing the payload must reach a secured cluster, and a user must export the affected view; the script then runs in that user's rendering context.
The record
- CVE
- CVE-2025-5198
- Published
- May 27, 2025
- Updated
- Feb 27, 2026
- Vendor
- 389 Directory Server
- Product
- Red Hat Advanced Cluster Security for Kubernetes
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 27, 2025CVE publishedPublication date reported by the CVE source.
- Feb 27, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo