Improper Neutralization of Special Elements Used in a Template Engine Affecting verbb/formie package, versions <2.2.20>=3.0.0-beta.1, <3.1.24


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-VERBBFORMIE-16757861
  • published19 May 2026
  • disclosed18 May 2026
  • creditpwnsauc3

Introduced: 18 May 2026

CVE-2026-45697  (opens in a new tab)
CWE-1336  (opens in a new tab)
CWE-693  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade verbb/formie to version 2.2.20, 3.1.24 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the submission handling process for Hidden fields with the Default value set to Custom. An attacker can execute arbitrary server-side code by submitting crafted values that are evaluated as templates. This is only exploitable if a public form contains at least one Hidden field configured with Default value set to Custom.

Workaround

This vulnerability can be mitigated by temporarily removing Hidden fields from public forms or switching the Hidden field default away from Custom.

CVSS Base Scores

version 4.0
version 3.1