Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/25080?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/25080?format=api",
    "vulnerability_id": "VCID-sh22-dem5-aqf3",
    "summary": "Spring Framework Improper Path Limitation with Script View Templates\nUse of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.",
    "aliases": [
        {
            "alias": "CVE-2026-22737"
        },
        {
            "alias": "GHSA-4773-3jfm-qmx3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68211?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@6.2.17",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-he9a-rr1j-v3fx"
                },
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@6.2.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68210?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@7.0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-he9a-rr1j-v3fx"
                },
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@7.0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68209?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@6.2.17",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@6.2.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/68207?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@7.0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@7.0.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48464?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@5.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-cpsj-4k25-wufe"
                },
                {
                    "vulnerability": "VCID-cyjt-4vjn-mbc7"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@5.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/146186?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@5.3.39",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-atm8-hukt-xfh4"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@5.3.39"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/146189?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-atm8-hukt-xfh4"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581862?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@6.1.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@6.1.21"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581868?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@6.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-he9a-rr1j-v3fx"
                },
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@6.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581857?format=api",
            "purl": "pkg:maven/org.springframework/spring-webflux@7.0.0-M1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webflux@7.0.0-M1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48455?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@5.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7x5d-wtf5-3kau"
                },
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-afh4-nhxq-y3he"
                },
                {
                    "vulnerability": "VCID-cyjt-4vjn-mbc7"
                },
                {
                    "vulnerability": "VCID-dy4t-tm9m-rfex"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-n1vf-acj7-gkaf"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@5.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/146188?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@5.3.39",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7x5d-wtf5-3kau"
                },
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-atm8-hukt-xfh4"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@5.3.39"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61346?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-85tn-8nj1-xyak"
                },
                {
                    "vulnerability": "VCID-afh4-nhxq-y3he"
                },
                {
                    "vulnerability": "VCID-atm8-hukt-xfh4"
                },
                {
                    "vulnerability": "VCID-gxnm-rk3x-zkdw"
                },
                {
                    "vulnerability": "VCID-n1vf-acj7-gkaf"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581859?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@6.1.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-n1vf-acj7-gkaf"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@6.1.21"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581865?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@6.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-n1vf-acj7-gkaf"
                },
                {
                    "vulnerability": "VCID-n5zb-39aw-gyfc"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                },
                {
                    "vulnerability": "VCID-ydhs-x5w6-gqgg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@6.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581866?format=api",
            "purl": "pkg:maven/org.springframework/spring-webmvc@7.0.0-M1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-85dj-ems3-vyh4"
                },
                {
                    "vulnerability": "VCID-sh22-dem5-aqf3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-webmvc@7.0.0-M1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-22737.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-22737.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-22737",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19485",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19477",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19511",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1957",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19482",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19561",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19618",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19709",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19614",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19758",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00068",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2106",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25678",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25698",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25691",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25643",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25531",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25596",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25655",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.25583",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00092",
                    "scoring_system": "epss",
                    "scoring_elements": "0.256",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-22737"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22737",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22737"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-framework",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-framework"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22737",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22737"
        },
        {
            "reference_url": "https://spring.io/security/cve-2026-22737",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-20T14:43:36Z/"
                }
            ],
            "url": "https://spring.io/security/cve-2026-22737"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2449348",
            "reference_id": "2449348",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2449348"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4773-3jfm-qmx3",
            "reference_id": "GHSA-4773-3jfm-qmx3",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4773-3jfm-qmx3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sh22-dem5-aqf3"
}