All reports
High

org.apache.johnzon/johnzon-mapper: Apache Johnzon: Arbitrary code execution via unsafe class loading

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-71253

Probability of exploitation in the next 30 days: 0.38%

FIRST EPSS · 2026-11-21

Description

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Apache Johnzon. ClassConverter loads & static-initializes an attacker-named class from untrusted JSON. This issue affects Apache Johnzon: from 1.0.0 before 2.2.0. Users are recommended to upgrade to version 1.3.1 (javax namespace) or 2.2.0 (jakarta specification namespace), which fixes the issue.

A flaw was found in Apache Johnzon. This vulnerability allows a remote attacker to potentially execute arbitrary code by submitting a specially crafted JSON payload. Due to unsafe class loading in the ClassConverter component, the application loads and statically initializes an attacker-specified class from untrusted input.