Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18268?format=api",
    "vulnerability_id": "VCID-rqfj-8y7h-eqgm",
    "summary": "ActionText ContentAttachment can Contain Unsanitized HTML\nInstances of ActionText::Attachable::ContentAttachment included within a rich_text_area tag could potentially contain unsanitized HTML.\n\nThis has been assigned the CVE identifier CVE-2024-32464.\n\n\nVersions Affected:  >= 7.1.0\nNot affected:       < 7.1.0\nFixed Versions:     7.1.3.4\n\nImpact\n------\nThis could lead to a potential cross site scripting issue within the Trix editor.\n\nReleases\n--------\nThe fixed releases are available at the normal locations.\n\nWorkarounds\n-----------\nN/A\n\nPatches\n-------\nTo aid users who aren't able to upgrade immediately we have provided patches for the supported release series in accordance with our [maintenance policy](https://guides.rubyonrails.org/maintenance_policy.html#security-issues) regarding security issues. They are in git-am format and consist of a single changeset.\n\n* action_text_content_attachment_xss_7_1_stable.patch - Patch for 7.1 series\n\n\n\nCredits\n-------\n\nThank you [ooooooo_q](https://hackerone.com/ooooooo_q) for reporting this!",
    "aliases": [
        {
            "alias": "CVE-2024-32464"
        },
        {
            "alias": "GHSA-prjp-h48f-jgf6"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937467?format=api",
            "purl": "pkg:deb/debian/rails@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937455?format=api",
            "purl": "pkg:deb/debian/rails@2:6.0.3.7%2Bdfsg-2%2Bdeb11u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4tzv-1t1b-t3g3"
                },
                {
                    "vulnerability": "VCID-5tky-d2en-u7c7"
                },
                {
                    "vulnerability": "VCID-96qr-hdbp-p7ff"
                },
                {
                    "vulnerability": "VCID-a6z9-5n6k-2kak"
                },
                {
                    "vulnerability": "VCID-ad6q-vtdf-syb6"
                },
                {
                    "vulnerability": "VCID-hatd-vkun-13hj"
                },
                {
                    "vulnerability": "VCID-n8r7-wthv-fqaj"
                },
                {
                    "vulnerability": "VCID-qxe4-dubt-1kfp"
                },
                {
                    "vulnerability": "VCID-sarm-n22v-akcm"
                },
                {
                    "vulnerability": "VCID-wpmk-wgpm-cuee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.0.3.7%252Bdfsg-2%252Bdeb11u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937453?format=api",
            "purl": "pkg:deb/debian/rails@2:6.1.7.10%2Bdfsg-1~deb12u2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4tzv-1t1b-t3g3"
                },
                {
                    "vulnerability": "VCID-5tky-d2en-u7c7"
                },
                {
                    "vulnerability": "VCID-96qr-hdbp-p7ff"
                },
                {
                    "vulnerability": "VCID-a6z9-5n6k-2kak"
                },
                {
                    "vulnerability": "VCID-ad6q-vtdf-syb6"
                },
                {
                    "vulnerability": "VCID-hatd-vkun-13hj"
                },
                {
                    "vulnerability": "VCID-qxe4-dubt-1kfp"
                },
                {
                    "vulnerability": "VCID-sarm-n22v-akcm"
                },
                {
                    "vulnerability": "VCID-wpmk-wgpm-cuee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:6.1.7.10%252Bdfsg-1~deb12u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937458?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2~deb13u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4tzv-1t1b-t3g3"
                },
                {
                    "vulnerability": "VCID-5tky-d2en-u7c7"
                },
                {
                    "vulnerability": "VCID-96qr-hdbp-p7ff"
                },
                {
                    "vulnerability": "VCID-a6z9-5n6k-2kak"
                },
                {
                    "vulnerability": "VCID-ad6q-vtdf-syb6"
                },
                {
                    "vulnerability": "VCID-hatd-vkun-13hj"
                },
                {
                    "vulnerability": "VCID-qxe4-dubt-1kfp"
                },
                {
                    "vulnerability": "VCID-sarm-n22v-akcm"
                },
                {
                    "vulnerability": "VCID-wpmk-wgpm-cuee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2~deb13u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937456?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.2.2%2Bdfsg-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.2.2%252Bdfsg-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937457?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.3%2Bdfsg-3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4tzv-1t1b-t3g3"
                },
                {
                    "vulnerability": "VCID-5tky-d2en-u7c7"
                },
                {
                    "vulnerability": "VCID-96qr-hdbp-p7ff"
                },
                {
                    "vulnerability": "VCID-a6z9-5n6k-2kak"
                },
                {
                    "vulnerability": "VCID-ad6q-vtdf-syb6"
                },
                {
                    "vulnerability": "VCID-hatd-vkun-13hj"
                },
                {
                    "vulnerability": "VCID-qxe4-dubt-1kfp"
                },
                {
                    "vulnerability": "VCID-sarm-n22v-akcm"
                },
                {
                    "vulnerability": "VCID-wpmk-wgpm-cuee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3%252Bdfsg-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1066847?format=api",
            "purl": "pkg:deb/debian/rails@2:7.2.3.1%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/rails@2:7.2.3.1%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58704?format=api",
            "purl": "pkg:gem/actiontext@7.1.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58708?format=api",
            "purl": "pkg:gem/actiontext@7.2.0.beta2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.2.0.beta2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/130993?format=api",
            "purl": "pkg:gem/actiontext@7.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/139667?format=api",
            "purl": "pkg:gem/actiontext@7.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/139668?format=api",
            "purl": "pkg:gem/actiontext@7.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/139669?format=api",
            "purl": "pkg:gem/actiontext@7.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/139670?format=api",
            "purl": "pkg:gem/actiontext@7.1.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/139671?format=api",
            "purl": "pkg:gem/actiontext@7.1.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                },
                {
                    "vulnerability": "VCID-zg1n-xs8e-w3hg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60017?format=api",
            "purl": "pkg:gem/actiontext@7.1.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.1.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/58707?format=api",
            "purl": "pkg:gem/actiontext@7.2.0.beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3hur-esmy-x3hr"
                },
                {
                    "vulnerability": "VCID-rqfj-8y7h-eqgm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/actiontext@7.2.0.beta1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-32464",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51354",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51393",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51339",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5138",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51451",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51443",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.514",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51414",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51435",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0028",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51392",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-32464"
        },
        {
            "reference_url": "https://github.com/rails/rails",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/rails"
        },
        {
            "reference_url": "https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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/2024-07-31T19:54:13Z/"
                }
            ],
            "url": "https://github.com/rails/rails/commit/e215bf3360e6dfe1497c1503a495e384ed6b0995"
        },
        {
            "reference_url": "https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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/2024-07-31T19:54:13Z/"
                }
            ],
            "url": "https://github.com/rails/rails/security/advisories/GHSA-prjp-h48f-jgf6"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actiontext/CVE-2024-32464.yml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actiontext/CVE-2024-32464.yml"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-32464",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "5.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-32464"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-prjp-h48f-jgf6",
            "reference_id": "GHSA-prjp-h48f-jgf6",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-prjp-h48f-jgf6"
        }
    ],
    "weaknesses": [
        {
            "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": 80,
            "name": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
            "description": "The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages."
        },
        {
            "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-rqfj-8y7h-eqgm"
}