Skip to main content
EPSS 0.6%top 55%

CVE-2026-13051: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine

0
Critical
Published: 08/13/2026 (08/13/2026, 16:28:50 UTC)
Source: CVE Database V5

Description

CVE-2026-13051 is a critical vulnerability in Form::Processor::Field::HtmlArea for Perl versions 0.06 through 1.162360. It allows attackers to cause resource exhaustion or execute attacker-controlled method dispatch via crafted HTML::Tidy diagnostic messages used as Locale::Maketext templates. This can lead to unhandled exceptions or arbitrary memory allocation during form validation. Other field types are not affected as they handle templates differently.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 13:32:37 UTC

Technical Analysis

Form::Processor::Field::HtmlArea versions 0.06 through 1.162360 for Perl improperly neutralize special elements used in a template engine (Locale::Maketext). The validate method runs HTML::Tidy on submitted markup and passes diagnostic messages to add_error, which uses these messages as template keys. Because the default language handle compiles unknown messages as bracket notation templates, an attacker can inject bracket groups that invoke arbitrary methods on the language handle with attacker-chosen arguments. This can cause unhandled exceptions or resource exhaustion. Fields other than HtmlArea are unaffected as they pass fixed templates with submitted values as inert arguments.

Potential Impact

An attacker can submit crafted markup to an HtmlArea field to trigger unhandled exceptions or cause arbitrary memory allocation, potentially leading to denial of service. Additionally, if the application’s language handle subclass defines public methods with side effects, these methods can be invoked with attacker-controlled arguments, potentially causing further unintended behavior. Confidentiality and integrity impacts are high due to the ability to execute arbitrary method dispatch. Availability impact is not directly indicated but resource exhaustion may cause service disruption.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, avoid using the vulnerable HtmlArea field or sanitize inputs to prevent injection of bracket notation templates in HTML::Tidy diagnostics. Monitor vendor channels for updates and apply official fixes once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-23T17:37:40.139Z
State
PUBLISHED

Threat ID: 6a7df3d6bf8831d53978881d

Added to database: 08/13/2026, 16:41:58 UTC

Last enriched: 08/21/2026, 13:32:37 UTC

Last updated: 09/27/2026, 01:47:40 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses