Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.jena/jena
  4. ›
  5. CVE-2023-22665

CVE-2023-22665: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

April 25, 2023 (updated January 21, 2024)

There is insufficient checking of user queries in Apache Jena versions 4.7.0 and earlier, when invoking custom scripts. It allows a remote user to execute arbitrary javascript via a SPARQL query.

References

  • github.com/advisories/GHSA-xgh5-gwq5-rpx8
  • lists.apache.org/thread/s0dmpsxcwqs57l4qfs415klkgmhdxq7s
  • nvd.nist.gov/vuln/detail/CVE-2023-22665

Code Behaviors & Features

Detect and mitigate CVE-2023-22665 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.7.0 up to 4.8.0

Fixed versions

  • 4.9.0

Solution

Upgrade to version 4.9.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Source file

maven/org.apache.jena/jena/CVE-2023-22665.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.