# CVE-2023-22665: Arbitrary javascript injection in Apache Jena

Source: https://junglewise.ai/threats/cve-2023-22665-arbitrary-javascript-injection-in-apache-jena  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-25  
License: CC BY 4.0 with a link back

CVE-2023-22665 · Severity: low · CVSS 3.1 · Published 2023-04-25

Arbitrary javascript injection in Apache Jena

Technologies: [org.apache.jena:jena (Maven)](https://junglewise.ai/threats/technologies/org-apache-jena-jena). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2023-22665?** Low severity, with a CVSS score of 3.1, published 25 April 2023.

**Which products and versions are affected?** org.apache.jena:jena (Maven) ECOSYSTEM:introduced=0,fixed=4.8.0.

**Is there a fix for CVE-2023-22665?** Yes. org.apache.jena:jena (Maven): upgrade to 4.8.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-22665?** Check whether you run org.apache.jena:jena (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

- org.apache.jena:jena (Maven): upgrade to 4.8.0 or later

  ```sh
  # set org.apache.jena:jena to 4.8.0 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.jena:jena (Maven) ECOSYSTEM:introduced=0,fixed=4.8.0

## Identifiers

- CVE-2023-22665
- GHSA-xgh5-gwq5-rpx8

## Related threats

- [Apache Jena doesn't validate file access paths in configuration files uploaded by users with administrator access](https://junglewise.ai/threats/cve-2025-50151-apache-jena-doesn-t-validate-file-access-paths-in-configuration)
- [Apache Jena Expression Language Injection vulnerability](https://junglewise.ai/threats/cve-2023-32200-apache-jena-expression-language-injection-vulnerability)
- [XML External Entity Reference in apache jena](https://junglewise.ai/threats/cve-2022-28890-xml-external-entity-reference-in-apache-jena)
