Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15625?format=api",
    "vulnerability_id": "VCID-x6wm-6c84-2qdw",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in actionview.",
    "aliases": [
        {
            "alias": "CVE-2022-27777"
        },
        {
            "alias": "GHSA-ch3h-j2vf-95pv"
        },
        {
            "alias": "GMS-2022-1138"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60536?format=api",
            "purl": "pkg:gem/actionview@5.2.7.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@5.2.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60537?format=api",
            "purl": "pkg:gem/actionview@6.0.4.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.4.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60538?format=api",
            "purl": "pkg:gem/actionview@6.1.5.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60539?format=api",
            "purl": "pkg:gem/actionview@7.0.2.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.2.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60529?format=api",
            "purl": "pkg:gem/actionview@5.2.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@5.2.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60530?format=api",
            "purl": "pkg:gem/actionview@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ajrj-qz9v-27d5"
                },
                {
                    "vulnerability": "VCID-m2hq-ycd3-wyds"
                },
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60531?format=api",
            "purl": "pkg:gem/actionview@6.0.4.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.0.4.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60532?format=api",
            "purl": "pkg:gem/actionview@6.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60533?format=api",
            "purl": "pkg:gem/actionview@6.1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@6.1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60534?format=api",
            "purl": "pkg:gem/actionview@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4eqj-r4hp-f7dm"
                },
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60535?format=api",
            "purl": "pkg:gem/actionview@7.0.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-x6wm-6c84-2qdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actionview@7.0.2.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-27777",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01409",
                    "scoring_system": "epss",
                    "scoring_elements": "0.80801",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-27777"
        },
        {
            "reference_url": "https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://discuss.rubyonrails.org/t/cve-2022-27777-possible-xss-vulnerability-in-action-view-tag-helpers/80534"
        },
        {
            "reference_url": "https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rails/rails/commit/649516ce0feb699ae06a8c5e81df75d460cc9a85"
        },
        {
            "reference_url": "https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/g/ruby-security-ann/c/9wJPEDv-iRw"
        },
        {
            "reference_url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html"
        },
        {
            "reference_url": "https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released"
        },
        {
            "reference_url": "https://www.debian.org/security/2023/dsa-5372",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.debian.org/security/2023/dsa-5372"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27777",
            "reference_id": "CVE-2022-27777",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27777"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml",
            "reference_id": "CVE-2022-27777.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2022-27777.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ch3h-j2vf-95pv",
            "reference_id": "GHSA-ch3h-j2vf-95pv",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ch3h-j2vf-95pv"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-x6wm-6c84-2qdw"
}