Intel

AIKIDO-2025-10917

jasperreports is vulnerable to Deserialization of Untrusted Data

CVE-2025-10492Published Dec 10, 2025
December 10, 2025

87

CVE Score

High

Deserialization of Untrusted Data

Are you affected? Scan for Free

TL;DR

CVE-2025-10492 is a deserialization of untrusted data vulnerability in JasperReports Library. The JRLoader class can deserialize attacker-controlled objects, which allows arbitrary code execution if a malicious serialized payload is processed. You are safe when your application only uses trusted, prepackaged report templates or when you run a recent commercial/enterprise edition, as those versions include vendor-provided patches. You are also safe when JasperReports runs on Java 17 or later, because modern Java versions block deserialization of arbitrary classes by default, preventing the malicious gadget chain.

How do I fix this?

Mitigation consists of strictly using trusted templates, disabling user uploads or external template loading, segmenting the reporting component on the network, and ensuring that no untrusted serialized data reaches JRLoader. Or upgrade to Java 17 or later.

Who does this affect?

You are affected when your application loads report templates (.jrxml or .jasper) from untrusted or user-supplied sources, or when external input can influence what JasperReports deserializes — for example through upload features, dynamic template loading, or accepting serialized report data. You are not affected when your application runs on Java 17 or later.

Versions

1.0.0 - 7.0.3

Fixed in 7.0.4

Background info

jasperreports is vulnerable to Deserialization of Untrusted Data in versions 1.0.0 - 7.0.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea