Skip to content
Heist/ feed
Back to feed
Unrated

Jar url should be blocked by DefaultScriptSecurity

Type: advisorySources: OSV

Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-40146
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:24 UTC · Revision 1

Source evidence

Jar url should be blocked by DefaultScriptSecurity

core-osv · Original source

Published 22 Sept 2022, 00:00 UTC

Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.

osv:CVE-2022-40146
Complete source record
{
  "id": "413dfa786866044b32a576582d98664aecf3c80ba2e61b266830735aa0335ed1",
  "url": "https://osv.dev/vulnerability/CVE-2022-40146",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Jar url should be blocked by DefaultScriptSecurity",
    "summary": "Server-Side Request Forgery (SSRF) vulnerability in Batik of Apache XML Graphics allows an attacker to access files using a Jar url. This issue affects Apache XML Graphics Batik 1.14.",
    "evidence": "osv:CVE-2022-40146",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-40146",
      "aliases": [
        "CVE-2022-40146",
        "GHSA-h4qg-p7r2-cpg3"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/xmlgraphics-batik",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6f03c1c80f51f53c61d506a544d810bfc111ec4f"
                },
                {
                  "last_affected": "6f03c1c80f51f53c61d506a544d810bfc111ec4f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:batik:1.14:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.14"
                      },
                      {
                        "last_affected": "1.14"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.14",
            "batik-1_14"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-40146.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.834945895Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread/hxtddqjty2sbs12y97c8g7xfh17jzxsx",
        "https://lists.debian.org/debian-lts-announce/2025/07/msg00006.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40146.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-40146",
        "https://security.gentoo.org/glsa/202401-11",
        "https://lists.debian.org/debian-lts-announce/2023/10/msg00021.html"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "Batik 1.14"
                  },
                  {
                    "last_affected": "Batik 1.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40146.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-40146",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 494478,
  "published_at": "2022-09-22T00:00:00+00:00"
}