Search

Find a vulnerability

Search criteria

    3 vulnerabilities by phlex

    FKIE_CVE-2024-28199

    Vulnerability from fkie_nvd - Published: 2024-03-11 23:15 - Updated: 2026-06-17 07:21
    Summary
    phlex is an open source framework for building object-oriented views in Ruby. There 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. If 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. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`.
    Impacted products
    Vendor Product Version
    phlex phlex *
    phlex phlex *
    phlex phlex *
    phlex phlex 1.1.0
    phlex phlex 1.4.0
    phlex phlex 1.7.0
    phlex phlex 1.9.0

    {
      "affected": [
        {
          "affectedData": [
            {
              "product": "phlex",
              "vendor": "phlex-ruby",
              "versions": [
                {
                  "status": "affected",
                  "version": "= 1.9.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.8.0, \u003c 1.8.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.7.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.6.0, \u003c 1.6.2"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.5.0, \u003c 1.5.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.4.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.3.0, \u003c 1.3.3"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.2.0, \u003c 1.2.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.1.0"
                },
                {
                  "status": "affected",
                  "version": "\u003c 1.0.1"
                }
              ]
            }
          ],
          "source": "security-advisories@github.com"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "B2BF28C1-9D36-460D-9030-2ECDB054ADB1",
                  "versionEndExcluding": "1.0.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "8A30CE8F-C58A-4851-8DB2-0724D67A0E58",
                  "versionEndExcluding": "1.2.2",
                  "versionStartIncluding": "1.2.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "91BCB672-57E6-47E2-9174-011BB8B9D08E",
                  "versionEndExcluding": "1.3.3",
                  "versionStartIncluding": "1.3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:1.1.0:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "A1724DBB-7DC6-43F3-BA3D-C05FCECD1D3C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:1.4.0:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "8E46CC01-3CD3-491D-8046-B5C5B740B7C9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:1.7.0:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "10E33F7C-8D3F-4182-A3A4-48940C967D31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phlex:phlex:1.9.0:*:*:*:*:ruby:*:*",
                  "matchCriteriaId": "1D4EB24C-96B0-4C2B-990F-848DF9CDEE86",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "phlex is an open source framework for building object-oriented views in Ruby. There 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. If you render an `\u003ca\u003e` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`."
        },
        {
          "lang": "es",
          "value": "Phlex es un framework de c\u00f3digo abierto para crear vistas orientadas a objetos en Ruby. Existe una posible vulnerabilidad de secuencias de comandos entre sitios (XSS) que puede explotarse mediante datos de usuario creados con fines malintencionados. Esto se debi\u00f3 a una distinci\u00f3n inadecuada entre may\u00fasculas y min\u00fasculas en el c\u00f3digo destinado a prevenir estos ataques. Si representa una etiqueta `\u003ca rel=\"nofollow\"\u003e` con un atributo `href` establecido en un enlace proporcionado por el usuario, ese enlace podr\u00eda potencialmente ejecutar JavaScript cuando otro usuario haga clic en \u00e9l. Si agrega atributos proporcionados por el usuario al representar cualquier etiqueta HTML, se podr\u00edan incluir atributos de eventos maliciosos en la salida, ejecutando JavaScript cuando los eventos sean activados por otro usuario. Los parches est\u00e1n disponibles en RubyGems para todas las versiones menores 1.x. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben considerar configurar una pol\u00edtica de seguridad de contenido que no permita \"inseguro en l\u00ednea\".\u003c/a\u003e"
        }
      ],
      "id": "CVE-2024-28199",
      "lastModified": "2026-06-17T07:21:11.490",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.1,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 4.2,
            "source": "security-advisories@github.com",
            "type": "Secondary"
          },
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 6.1,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "CHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.8,
            "impactScore": 2.7,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2024-28199",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2024-03-12T15:49:25.218232Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2024-03-11T23:15:47.333",
      "references": [
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Technical Description"
          ],
          "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Technical Description"
          ],
          "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
        },
        {
          "source": "security-advisories@github.com",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Technical Description"
          ],
          "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Technical Description"
          ],
          "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Vendor Advisory"
          ],
          "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
        }
      ],
      "sourceIdentifier": "security-advisories@github.com",
      "vulnStatus": "Analyzed",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-79"
            }
          ],
          "source": "security-advisories@github.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-79"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    }

    CVE-2024-28199 (GCVE-0-2024-28199)

    Vulnerability from nvd – Published: 2024-03-11 22:50 – Updated: 2024-08-02 00:48
    VLAI
    Title
    Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex
    Summary
    phlex is an open source framework for building object-oriented views in Ruby. There 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. If 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. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-12 15:49 UTC
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 8074 records in the last 180 days details
    Impacted products
    Vendor Product Version
    phlex-ruby phlex Affected: = 1.9.0
    Affected: >= 1.8.0, < 1.8.2
    Affected: = 1.7.0
    Affected: >= 1.6.0, < 1.6.2
    Affected: >= 1.5.0, < 1.5.2
    Affected: = 1.4.0
    Affected: >= 1.3.0, < 1.3.3
    Affected: >= 1.2.0, < 1.2.2
    Affected: = 1.1.0
    Affected: < 1.0.1
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-28199",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-12T15:49:25.218232Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-06-04T18:03:58.780Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T00:48:49.443Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "name": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g",
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
              },
              {
                "name": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
              },
              {
                "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
              },
              {
                "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "phlex",
              "vendor": "phlex-ruby",
              "versions": [
                {
                  "status": "affected",
                  "version": "= 1.9.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.8.0, \u003c 1.8.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.7.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.6.0, \u003c 1.6.2"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.5.0, \u003c 1.5.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.4.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.3.0, \u003c 1.3.3"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.2.0, \u003c 1.2.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.1.0"
                },
                {
                  "status": "affected",
                  "version": "\u003c 1.0.1"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "phlex is an open source framework for building object-oriented views in Ruby. There 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. If you render an `\u003ca\u003e` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-03-11T22:50:38.789Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
            },
            {
              "name": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
            },
            {
              "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
            },
            {
              "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
            }
          ],
          "source": {
            "advisory": "GHSA-242p-4v39-2v8g",
            "discovery": "UNKNOWN"
          },
          "title": "Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2024-28199",
        "datePublished": "2024-03-11T22:50:38.789Z",
        "dateReserved": "2024-03-06T17:35:00.860Z",
        "dateUpdated": "2024-08-02T00:48:49.443Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2024-28199 (GCVE-0-2024-28199)

    Vulnerability from cvelistv5 – Published: 2024-03-11 22:50 – Updated: 2024-08-02 00:48
    VLAI
    Title
    Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex
    Summary
    phlex is an open source framework for building object-oriented views in Ruby. There 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. If 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. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-12 15:49 UTC
    CWE
    • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 8074 records in the last 180 days details
    Impacted products
    Vendor Product Version
    phlex-ruby phlex Affected: = 1.9.0
    Affected: >= 1.8.0, < 1.8.2
    Affected: = 1.7.0
    Affected: >= 1.6.0, < 1.6.2
    Affected: >= 1.5.0, < 1.5.2
    Affected: = 1.4.0
    Affected: >= 1.3.0, < 1.3.3
    Affected: >= 1.2.0, < 1.2.2
    Affected: = 1.1.0
    Affected: < 1.0.1
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-28199",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-12T15:49:25.218232Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-06-04T18:03:58.780Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T00:48:49.443Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "name": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g",
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
              },
              {
                "name": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
              },
              {
                "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
              },
              {
                "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "phlex",
              "vendor": "phlex-ruby",
              "versions": [
                {
                  "status": "affected",
                  "version": "= 1.9.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.8.0, \u003c 1.8.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.7.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.6.0, \u003c 1.6.2"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.5.0, \u003c 1.5.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.4.0"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.3.0, \u003c 1.3.3"
                },
                {
                  "status": "affected",
                  "version": "\u003e= 1.2.0, \u003c 1.2.2"
                },
                {
                  "status": "affected",
                  "version": "= 1.1.0"
                },
                {
                  "status": "affected",
                  "version": "\u003c 1.0.1"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "phlex is an open source framework for building object-oriented views in Ruby. There 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. If you render an `\u003ca\u003e` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-03-11T22:50:38.789Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g"
            },
            {
              "name": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1"
            },
            {
              "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"
            },
            {
              "name": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline"
            }
          ],
          "source": {
            "advisory": "GHSA-242p-4v39-2v8g",
            "discovery": "UNKNOWN"
          },
          "title": "Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2024-28199",
        "datePublished": "2024-03-11T22:50:38.789Z",
        "dateReserved": "2024-03-06T17:35:00.860Z",
        "dateUpdated": "2024-08-02T00:48:49.443Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }