Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mustache/mustache
  4. ›
  5. CVE-2022-0323

CVE-2022-0323: Improper Neutralization of Special Elements Used in a Template Engine

January 27, 2022

Improper Neutralization of Special Elements Used in a Template Engine in Packagist mustache/mustache

References

  • github.com/advisories/GHSA-4rmr-c2jx-vx27
  • github.com/bobthecow/mustache.php/commit/579ffa5c96e1d292c060b3dd62811ff01ad8c24e
  • huntr.dev/bounties/a5f5a988-aa52-4443-839d-299a63f44fb7
  • nvd.nist.gov/vuln/detail/CVE-2022-0323

Code Behaviors & Features

Detect and mitigate CVE-2022-0323 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.14.1

Fixed versions

  • 2.14.1

Solution

Upgrade to version 2.14.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/mustache/mustache/CVE-2022-0323.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Nov 2026 00:19:00 +0000.