# CVE-2018-18893: Jinjava calls getClass

Source: https://junglewise.ai/threats/cve-2018-18893-jinjava-calls-getclass  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-01-04  
License: CC BY 4.0 with a link back

CVE-2018-18893 · Severity: low · CVSS 3 · Published 2019-01-04

Jinjava calls getClass

Technologies: [com.hubspot.jinjava:jinjava (Maven)](https://junglewise.ai/threats/technologies/com-hubspot-jinjava-jinjava). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2018-18893 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-18893 being exploited in the wild.

**How severe is CVE-2018-18893?** Low severity, with a CVSS score of 3, published 4 January 2019.

**Which products and versions are affected?** com.hubspot.jinjava:jinjava (Maven) ECOSYSTEM:introduced=0,fixed=2.4.6.

**Is there a fix for CVE-2018-18893?** Yes. com.hubspot.jinjava:jinjava (Maven): upgrade to 2.4.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-18893?** Check whether you run com.hubspot.jinjava:jinjava (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.hubspot.jinjava:jinjava (Maven): upgrade to 2.4.6 or later

  ```sh
  # set com.hubspot.jinjava:jinjava to 2.4.6 in your pom.xml or build.gradle
  ```


## Affected products

- com.hubspot.jinjava:jinjava (Maven) ECOSYSTEM:introduced=0,fixed=2.4.6

## Identifiers

- CVE-2018-18893
- GHSA-45r8-3495-x6rm

## Related threats

- [JinJava Bypass through ForTag leads to Arbitrary Java Execution](https://junglewise.ai/threats/cve-2026-25526-jinjava-bypass-through-fortag-leads-to-arbitrary-java-execution)
- [HubSpot Jinjava sandbox bypass via JavaType deserialization](https://junglewise.ai/threats/cve-2025-59340-hubspot-jinjava-sandbox-bypass-via-javatype-deserialization)
- [Unauthorized access to Class instance in Jinjava](https://junglewise.ai/threats/cve-2020-12668-unauthorized-access-to-class-instance-in-jinjava)
