Skip to main content

Form::Processor CVE-2026-13051

| EUVDEUVD-2026-58118 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-08-13 CPANSec GHSA-fhx5-grqf-hx29
9.1
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate form with HtmlArea field
  2. Delivery
    Submit crafted HTML with Maketext bracket group
  3. Exploit
    HTML::Tidy diagnostic quotes payload into add_error
  4. Execution
    _AUTO compiles diagnostic as template
  5. Persist
    Method dispatched on language handle with attacker args
  6. Impact
    Memory exhaustion, unhandled exception, or side-effecting method call

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

The application must expose a Form::Processor form containing an HtmlArea field type (versions 0.06 through 1.162360) that is reachable by the attacker, and the field's validate must run HTML::Tidy over submitted markup and hand diagnostics to add_error - this is the default HtmlArea behavior. The default language handle sets the _AUTO lexicon flag, which is what causes unknown keys to be compiled as templates; if the deployment has disabled _AUTO or does not use the default handle, the template-compilation path does not trigger. Denial of service (unhandled croak or memory exhaustion) works against default configurations with no authentication or user interaction. Escalation to attacker-controlled method side effects additionally requires that the application's Locale::Maketext handle subclass define side-effecting public methods callable by name - an application-specific, non-default condition that limits the confidentiality/integrity impact. Only the HtmlArea field type is affected; forms using other field types are not exploitable.

Impact

The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, 9.1) rates network-reachable, low-complexity, unauthenticated exploitation with high confidentiality and integrity impact but explicitly no availability impact - which conflicts with the description, since the most reliable and default-configuration outcome is availability loss (unhandled croak from a group like [0], or memory exhaustion from [sprintf,%2000000000d,7]). The claimed C:H/I:H impact is conditional: arbitrary method dispatch only causes confidentiality/integrity damage if the deployed application's language-handle subclass defines side-effecting public methods, which is non-default. EPSS is low (0.40%, 33rd percentile) and the product is a niche legacy CPAN module, so widespread automated exploitation is unlikely despite the high CVSS. Net: a genuine, easily-triggered denial-of-service against default deployments, escalating to method-dispatch abuse only in applications with vulnerable handle subclasses - verify the actual impact ceiling against the specific application rather than assuming worst-case RCE-style C:H/I:H.

Exploit ScenarioDerived

An attacker submits a web form containing an HtmlArea field with markup whose attribute value embeds a Maketext bracket group - for example an element whose attribute is set to [sprintf,%2000000000d,7]. HTML::Tidy flags the malformed attribute, its diagnostic quotes the attacker payload, and add_error compiles it as a template, driving CORE::sprintf to allocate a huge field width and exhaust process memory; a payload like [0] instead throws an unhandled exception out of form validation. No public exploit code is identified at time of analysis, but the single-request, unauthenticated, low-complexity nature makes weaponization straightforward.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 14, 2026

Server-side template injection in the Form::Processor::Field::HtmlArea Perl module (versions 0.06 through 1.162360) lets a remote unauthenticated attacker inject Locale::Maketext bracket-notation templates through HTML::Tidy validation diagnostics. Because the default language handle enables _AUTO, unrecognized message keys are compiled as templates, so attacker-controlled attribute names/values in submitted markup become method-dispatch templates on the language handle - yielding unhandled exceptions, near-unbounded memory allocation, and, where the application's handle subclass defines side-effecting public methods, invocation of those methods with attacker-chosen arguments. Reported by CPANSec with a vendor patch available; there is no public exploit identified at time of analysis and EPSS is low (0.40%, 33rd percentile).

RemediationAI

Apply the vendor patch published by MetaCPAN Security for Form-Processor 1.162360 at https://security.metacpan.org/patches/F/Form-Processor/1.162360/CVE-2026-13051-r1.patch (Patch available per vendor advisory; the exact upgraded release version is not independently confirmed from the input, so track the CPANSec advisory for the tagged fixed release). If you cannot patch immediately, the specific compensating controls are: avoid using the HtmlArea field type, or override the field so Tidy diagnostic strings are never passed as the message key to add_error/Locale::Maketext (pass them as an argument to a fixed template instead, as the other field types do); disable the _AUTO flag in the application's Locale::Maketext lexicon so unknown keys fail to look up rather than compiling as templates (trade-off: any legitimate reliance on _AUTO auto-lexicon behavior breaks); and audit the language-handle subclass to remove or make private any side-effecting public methods so method dispatch cannot cause harm (trade-off: refactoring of handle methods). Each of these reduces attack surface but the authoritative fix is the vendor patch.

Affected ProductsAI

Form::Processor for Perl (the Form-Processor CPAN distribution, module Form::Processor::Field::HtmlArea) in versions from 0.06 through 1.162360, as published on MetaCPAN (release HANK/Form-Processor-1.162360). The vulnerable code paths are HtmlArea.pm (the Tidy-to-add_error handoff, lib/Form/Processor/Field/HtmlArea.pm#L28-31) and Field.pm (add_error, lib/Form/Processor/Field.pm#L163). Tracked as CVE-2026-13051 and ENISA EUVD-2026-58118; see the oss-security advisory at https://seclists.org/oss-sec/2026/q3/485 and the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-13051.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in Form::Processor's HtmlArea field type, which runs HTML::Tidy over submitted markup and forwards each Tidy diagnostic message to add_error. add_error passes its first argument to a Locale::Maketext language handle as the message key. Locale::Maketext, when a lexicon sets the _AUTO flag, treats any key that is not an existing lexicon entry as an inline bracket-notation template to compile rather than a literal to look up. Tidy diagnostics embed the offending attribute name or value in quotes, so bracketed content from the submitted HTML reaches the template-compilation path. In Maketext bracket notation the first token of a group is the name of a method called on the handle and remaining tokens are its arguments (e.g. [sprintf,...] calls CORE::sprintf). This is CWE-1336 (improper neutralization of special elements in a template engine / SSTI). Other Form::Processor field types place the submitted value in a fixed template's argument slot where it stays inert, so only HtmlArea is affected. A conceptually similar Maketext/_AUTO issue was tracked historically as CVE-2012-6329.

Know when Ssti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 8.6 HIGH

Single unauthenticated request reliably causes DoS by default (A:H); attacker-chosen method dispatch yields only conditional C/I impact dependent on app-defined side-effecting handle methods, hence C:L/I:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE CRITICAL

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
CVSS changed
Aug 14, 2026 - 18:22 NVD
9.1 (CRITICAL)
CVE Published
Aug 13, 2026 - 16:28 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 13, 2026 - 16:28 cve.org
CRITICAL 9.1

DescriptionCVE.org

Form::Processor::Field::HtmlArea versions from 0.06 through 1.162360 for Perl allow attacker selected method dispatch and resource exhaustion via an HTML::Tidy diagnostic that validate passes to add_error as a Locale::Maketext template.

validate runs HTML::Tidy over the submitted markup and passes each resulting message to add_error as its first argument, which add_error hands to the language handle as the Locale::Maketext message key. The default handle's lexicon sets _AUTO, so a message that is not a lexicon entry is compiled as a bracket notation template instead of being looked up. Tidy diagnostics quote the offending attribute name or value, so a bracket group in the submitted markup reaches the template position, where the first token of the group names a method called on the language handle and the remaining tokens are its arguments. A group such as [0] makes the compile croak, and neither the field nor the handle catches it, so the exception leaves validate. [sprintf,%2000000000d,7] reaches CORE::sprintf with an attacker chosen field width.

One submission of crafted markup to an HtmlArea field throws an unhandled exception out of form validation or allocates an arbitrary amount of memory, and an application whose language handle subclass defines side effecting public methods makes those callable with attacker chosen arguments. The other field types pass fixed templates with the submitted value in an argument slot, where it stays inert, and are unaffected.

Executive ViewAI

Why It Matters

The Form::Processor::Field::HtmlArea Perl module (versions 0.06-1.162360) contains a critical server-side template injection vulnerability allowing unauthenticated remote attackers to execute code through malformed HTML form input. Organizations running affected versions face risk of unauthorized system access and data compromise without requiring valid authentication.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche legacy Perl CPAN form module, largely superseded by FormHandler
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ssti

View all
CVE-2024-23692 CRITICAL POC
9.8 May 31

Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c

CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2024-6386 CRITICAL POC
9.9 Aug 21

Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor

CVE-2026-75650 CRITICAL POC
10.0 Sep 07

Server-side template injection in Adobe Commerce, Adobe Commerce B2B, and Magento Open Source allows remote unauthentica

CVE-2026-39980 CRITICAL POC
9.1 Apr 09

Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization

CVE-2026-97359 CRITICAL POC
10.0 Sep 24

Unauthenticated remote code execution in Rejetto HFS2 (HTTP File Server) through version 2.4.0 lets an attacker execute

CVE-2025-23211 CRITICAL POC
9.9 Jan 28

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve

CVE-2024-32651 CRITICAL POC
10.0 Apr 26

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic

CVE-2024-4040 CRITICAL POC
10.0 Apr 22

A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all

CVE-2026-15734 CRITICAL POC
9.8 Aug 06

Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio

CVE-2024-24724 CRITICAL POC
9.8 Apr 03

Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re

CVE-2026-77136 CRITICAL POC
9.5 Aug 25

Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th

Vendor StatusVendor

SUSE

Severity: Critical
Product Status
SLES15-SP5-CHOST-BYOS-SAP-CCloud Affected
SLES15-SP6-CHOST-BYOS Affected
SLES15-SP6-CHOST-BYOS-Aliyun Affected
SLES15-SP6-CHOST-BYOS-Azure Affected
SLES15-SP6-CHOST-BYOS-EC2 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy