Security mailing lists by PureSourceCode

CVE-2023-22665

MEDIUM 5.4CVSS 3.1

Arbitrary javascript injection in Apache Jena

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.

Published
25 Apr 2023
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-917
Also known as
GHSA-xgh5-gwq5-rpx8
Sources
NVDJSONOSV GHSA-xgh5-gwq5-rpx8JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache jena
cpe:2.3:a:apache:jena:*:*:*:*:*:*:*:*
>= 3.7.0, <= 4.8.0
OSV Maven org.apache.jena:jena < 4.8.0 4.8.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 25 Apr 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.