Skip to content
XSS Write-up Intermediate

From PDF to Problem

A specially crafted PDF loaded into the PdfViewer component of Progress Telerik and Kendo UI products can execute malicious content as code when the user interacts with tools that re-render the DOM. An attacker could steal session tokens or sensitive data, manipulate page content, or perform actions on behalf of the user.

medium.com

Published on medium.com

This new vulnerability, CVE-2025–6725, affects the PdfViewer component used across multiple Progress Telerik and Kendo UI products. This weakness enables a Cross-Site Scripting (XSS)attack if a specially crafted PDF is loaded and the user interacts with tools that trigger a re-render of the document object model.

Ruben Croes, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the PDF viewer fails to properly sanitise content from the PDF before inserting it into the DOM during re-render.

Impact

An attacker could steal session tokens or sensitive data, manipulate page content, or perform actions on behalf of the user; the vulnerability is rated medium severity (CVSS 5.4).

What the attacker needed

Victim loads a crafted PDF; victim interacts with viewer tools

The fix

Update to a patched version of the affected Telerik or Kendo UI product; if that is not possible, avoid loading untrusted PDFs, implement a strong Content Security Policy, and sandbox embedded viewers.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a cross-site scripting (XSS) bug: a malicious PDF file can contain hidden code that runs in the victim's browser when they use certain viewer tools. That code runs with the same permissions as the website, so it could read cookies or tokens and act as the user.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.