Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47236?format=api",
    "vulnerability_id": "VCID-uaqs-9f9c-6yex",
    "summary": "Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex\nThere is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. This was due to improper case-sensitivity in the code that was meant to prevent these attacks.\n\n### Impact\n\nIf you render an `<a>` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user.\n\n```ruby\na(href: user_profile) { \"Profile\" }\n```\n\nIf you splat user-provided attributes when rendering any HTML or SVG tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user.\n\n```ruby\nh1(**JSON.parse(user_attributes))\n```\n\n### Patches\nPatches are [available on RubyGems](https://rubygems.org/gems/phlex) for all `1.x` minor versions. The patched versions are:\n\n- [1.9.1](https://rubygems.org/gems/phlex/versions/1.9.1)\n- [1.8.2](https://rubygems.org/gems/phlex/versions/1.8.2)\n- [1.7.1](https://rubygems.org/gems/phlex/versions/1.7.1)\n- [1.6.2](https://rubygems.org/gems/phlex/versions/1.6.2)\n- [1.5.2](https://rubygems.org/gems/phlex/versions/1.5.2)\n- [1.4.1](https://rubygems.org/gems/phlex/versions/1.4.1)\n- [1.3.3](https://rubygems.org/gems/phlex/versions/1.3.3)\n- [1.2.2](https://rubygems.org/gems/phlex/versions/1.2.2)\n- [1.1.1](https://rubygems.org/gems/phlex/versions/1.1.1)\n- [1.0.1](https://rubygems.org/gems/phlex/versions/1.0.1)\n\nIf you are on `main`, it has been patched since [`aa50c60`](https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1)\n\n### Workarounds\nConfiguring a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) that does not allow [`unsafe-inline`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline) would effectively prevent this vulnerability from being exploited.\n\n### References\n\nIn addition to upgrading to a patched version of Phlex, we strongly recommend configuring a Content Security Policy header that does not allow `unsafe-inline`. Here’s how you can configure a Content Security Policy header in Rails. https://guides.rubyonrails.org/security.html#content-security-policy-header",
    "aliases": [
        {
            "alias": "CVE-2024-28199"
        },
        {
            "alias": "GHSA-242p-4v39-2v8g"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69328?format=api",
            "purl": "pkg:gem/phlex@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69327?format=api",
            "purl": "pkg:gem/phlex@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69326?format=api",
            "purl": "pkg:gem/phlex@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69325?format=api",
            "purl": "pkg:gem/phlex@1.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69324?format=api",
            "purl": "pkg:gem/phlex@1.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69323?format=api",
            "purl": "pkg:gem/phlex@1.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69322?format=api",
            "purl": "pkg:gem/phlex@1.6.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.6.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69321?format=api",
            "purl": "pkg:gem/phlex@1.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69320?format=api",
            "purl": "pkg:gem/phlex@1.8.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.8.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69319?format=api",
            "purl": "pkg:gem/phlex@1.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.9.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170006?format=api",
            "purl": "pkg:gem/phlex@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170007?format=api",
            "purl": "pkg:gem/phlex@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170008?format=api",
            "purl": "pkg:gem/phlex@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170009?format=api",
            "purl": "pkg:gem/phlex@0.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170010?format=api",
            "purl": "pkg:gem/phlex@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170011?format=api",
            "purl": "pkg:gem/phlex@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170012?format=api",
            "purl": "pkg:gem/phlex@0.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170013?format=api",
            "purl": "pkg:gem/phlex@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170014?format=api",
            "purl": "pkg:gem/phlex@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170015?format=api",
            "purl": "pkg:gem/phlex@0.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170016?format=api",
            "purl": "pkg:gem/phlex@0.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170017?format=api",
            "purl": "pkg:gem/phlex@0.5.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@0.5.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170018?format=api",
            "purl": "pkg:gem/phlex@1.0.0.rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.0.0.rc1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170019?format=api",
            "purl": "pkg:gem/phlex@1.0.0.rc2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.0.0.rc2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170020?format=api",
            "purl": "pkg:gem/phlex@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69328?format=api",
            "purl": "pkg:gem/phlex@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69310?format=api",
            "purl": "pkg:gem/phlex@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75567?format=api",
            "purl": "pkg:gem/phlex@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69327?format=api",
            "purl": "pkg:gem/phlex@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69311?format=api",
            "purl": "pkg:gem/phlex@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75568?format=api",
            "purl": "pkg:gem/phlex@1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170021?format=api",
            "purl": "pkg:gem/phlex@1.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69326?format=api",
            "purl": "pkg:gem/phlex@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69312?format=api",
            "purl": "pkg:gem/phlex@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75569?format=api",
            "purl": "pkg:gem/phlex@1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170022?format=api",
            "purl": "pkg:gem/phlex@1.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170023?format=api",
            "purl": "pkg:gem/phlex@1.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69325?format=api",
            "purl": "pkg:gem/phlex@1.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69313?format=api",
            "purl": "pkg:gem/phlex@1.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75570?format=api",
            "purl": "pkg:gem/phlex@1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69324?format=api",
            "purl": "pkg:gem/phlex@1.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69314?format=api",
            "purl": "pkg:gem/phlex@1.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75556?format=api",
            "purl": "pkg:gem/phlex@1.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170024?format=api",
            "purl": "pkg:gem/phlex@1.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69323?format=api",
            "purl": "pkg:gem/phlex@1.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.5.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69315?format=api",
            "purl": "pkg:gem/phlex@1.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75557?format=api",
            "purl": "pkg:gem/phlex@1.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170025?format=api",
            "purl": "pkg:gem/phlex@1.6.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.6.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69322?format=api",
            "purl": "pkg:gem/phlex@1.6.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.6.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69316?format=api",
            "purl": "pkg:gem/phlex@1.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.7.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75558?format=api",
            "purl": "pkg:gem/phlex@1.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69321?format=api",
            "purl": "pkg:gem/phlex@1.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69317?format=api",
            "purl": "pkg:gem/phlex@1.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75559?format=api",
            "purl": "pkg:gem/phlex@1.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/170026?format=api",
            "purl": "pkg:gem/phlex@1.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69320?format=api",
            "purl": "pkg:gem/phlex@1.8.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.8.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69318?format=api",
            "purl": "pkg:gem/phlex@1.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75560?format=api",
            "purl": "pkg:gem/phlex@1.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69319?format=api",
            "purl": "pkg:gem/phlex@1.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-fr4p-b13u-nbhf"
                },
                {
                    "vulnerability": "VCID-m3kh-42bg-ykd8"
                },
                {
                    "vulnerability": "VCID-qw3q-6gwf-vufy"
                },
                {
                    "vulnerability": "VCID-uaqs-9f9c-6yex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/phlex@1.9.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28199",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01541",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81729",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.01541",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8173",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-28199"
        },
        {
            "reference_url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "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-03-12T15:49:25Z/"
                }
            ],
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
        },
        {
            "reference_url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "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-03-12T15:49:25Z/"
                }
            ],
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
        },
        {
            "reference_url": "https://github.com/phlex-ruby/phlex",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/phlex-ruby/phlex"
        },
        {
            "reference_url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "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-03-12T15:49:25Z/"
                }
            ],
            "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28199",
            "reference_id": "CVE-2024-28199",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28199"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/phlex/CVE-2024-28199.yml",
            "reference_id": "CVE-2024-28199.YML",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/phlex/CVE-2024-28199.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-242p-4v39-2v8g",
            "reference_id": "GHSA-242p-4v39-2v8g",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-242p-4v39-2v8g"
        },
        {
            "reference_url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g",
            "reference_id": "GHSA-242p-4v39-2v8g",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "7.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "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-03-12T15:49:25Z/"
                }
            ],
            "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
        }
    ],
    "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": 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": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uaqs-9f9c-6yex"
}