SecurityContext

CVE-2021-23416: curly-bracket-parser - Template Injection

  • Cve: CVE-2021-23416
  • Name: curly-bracket-parser - Template Injection
  • Description: This affects all versions of package curly-bracket-parser. When used as a template library, it does not properly sanitize the user input.
  • Impact: Attackers can execute arbitrary scripts or code via template injection, leading to potential remote code execution or cross-site scripting.
  • Remediation: Update to the latest version where sanitization is properly implemented or apply security patches to sanitize user input.
  • Vulnerability type: template_injection
  • Vulnerability impact: remote_code_execution, client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to provide malicious user input
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00793
  • Epss percentile: 0.57126
  • Assignee: [email protected]
  • Published at: 2021-07-28T16:15:08Z
  • Age in days: 1945
  • Modified at: 2026-06-17T03:38:43Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-23416
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://snyk.io/vuln/SNYK-JS-CURLYBRACKETPARSER-1297106nvd2021-07-28

References

UrlSourceTags
https://snyk.io/vuln/SNYK-JS-CURLYBRACKETPARSER-1297106nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
curly-bracket-parser_project:curly-bracket-parserall versionsnonvd/v1/products/curly-bracket-parser_project/curly-bracket-parser

Projects

RepositoryLink kindsIndexedUrl
magynhard/curly-bracket-parserpackageyes/v1/repositories/magynhard/curly-bracket-parser

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-07-28
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts