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