Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    2 vulnerabilities found for markdown-extra by twig

    CVE-2026-46637 (GCVE-0-2026-46637)

    Vulnerability from nvd – Published: 2026-07-14 21:25 – Updated: 2026-07-14 21:25
    VLAI
    Title
    Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`
    Summary
    Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    Assigner
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "product": "Twig",
              "vendor": "twigphp",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            },
            {
              "product": "cssinliner-extra",
              "vendor": "twig",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            },
            {
              "product": "markdown-extra",
              "vendor": "twig",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe =\u003e [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 5.1,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "LOW",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "PASSIVE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116: Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-14T21:25:20.141Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3"
            },
            {
              "name": "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299"
            },
            {
              "name": "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a"
            },
            {
              "name": "https://github.com/twigphp/Twig/releases/tag/v3.26.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/releases/tag/v3.26.0"
            }
          ],
          "source": {
            "advisory": "GHSA-jv8m-2544-3pg3",
            "discovery": "UNKNOWN"
          },
          "title": "Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe =\u003e [\u0027all\u0027]`"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-46637",
        "datePublished": "2026-07-14T21:25:20.141Z",
        "dateReserved": "2026-05-15T20:11:54.584Z",
        "dateUpdated": "2026-07-14T21:25:20.141Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-46637 (GCVE-0-2026-46637)

    Vulnerability from cvelistv5 – Published: 2026-07-14 21:25 – Updated: 2026-07-14 21:25
    VLAI
    Title
    Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`
    Summary
    Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.
    CWE
    • CWE-116 - Improper Encoding or Escaping of Output
    Assigner
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "product": "Twig",
              "vendor": "twigphp",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            },
            {
              "product": "cssinliner-extra",
              "vendor": "twig",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            },
            {
              "product": "markdown-extra",
              "vendor": "twig",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 3.26.0"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe =\u003e [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 5.1,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "LOW",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "PASSIVE",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116: Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-07-14T21:25:20.141Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3"
            },
            {
              "name": "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299"
            },
            {
              "name": "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a"
            },
            {
              "name": "https://github.com/twigphp/Twig/releases/tag/v3.26.0",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/twigphp/Twig/releases/tag/v3.26.0"
            }
          ],
          "source": {
            "advisory": "GHSA-jv8m-2544-3pg3",
            "discovery": "UNKNOWN"
          },
          "title": "Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe =\u003e [\u0027all\u0027]`"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-46637",
        "datePublished": "2026-07-14T21:25:20.141Z",
        "dateReserved": "2026-05-15T20:11:54.584Z",
        "dateUpdated": "2026-07-14T21:25:20.141Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }