Is twig/markdown-extra 2.12 vulnerable?

Composer · 6 releases from 2.12.0 to 2.12.5 · latest twig/markdown-extra is 3.29.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. twig/markdown-extra 2.12.5, the last 2.12 release, is affected by 1 known security advisory (1 low), including CVE-2026-46637. Upgrade to 3.26.0 or later to fix all of them.

Upgrade with:composer require twig/markdown-extra:^3.26.0

Is your project on an affected twig/markdown-extra?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting twig/markdown-extra 2.12.5

  • LowCVE-2026-46637GHSA-jv8m-2544-3pg321 May 2026

    Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`

    Affected
    <3.26.0
    Fixed in
    3.26.0

Every twig/markdown-extra 2.12.x release

Affected: 2.12.0 to 2.12.5. Latest twig/markdown-extra: 3.29.0.

VersionKnown advisories
twig/markdown-extra 2.12.5CVE-2026-46637
twig/markdown-extra 2.12.4CVE-2026-46637
twig/markdown-extra 2.12.3CVE-2026-46637
twig/markdown-extra 2.12.2CVE-2026-46637
twig/markdown-extra 2.12.1CVE-2026-46637
twig/markdown-extra 2.12.0CVE-2026-46637

Which of your client projects are still on twig/markdown-extra 2.12?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact twig/markdown-extra version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other twig/markdown-extra versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.