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.
{ "nvd_published_at": "2023-04-25T07:15:08Z", "cwe_ids": [ "CWE-917" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-04-25T19:47:40Z" }