Skip to main content

Web::Simple EUVDEUVD-2026-121639

| CVE-2026-120212 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-10 CPANSec GHSA-3xh6-x477-72h3
5.4
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted attribute value
  2. Delivery
    Value interpolated into single-quoted attribute
  3. Exploit
    Unescaped single quote breaks out and injects event handler
  4. Execution
    Victim loads generated page
  5. Impact
    Injected script executes in victim browser

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Web::Simple application (before 0.037) to interpolate an attacker-controlled value into a SINGLE-quoted HTML attribute via HTML::Tags/XML::Tags, e.g. <a href='$value'>; the pre-patch escaper only replaced &, ", < and > and left the single quote intact, so the value can close the attribute and add an event handler. Double-quoted attributes are explicitly NOT affected. Limiting factors: only the single-quoted-attribute coding pattern is vulnerable (not universal), the attacker must control the interpolated value, a victim must load the generated page (UI:R), and only versions prior to 0.037 are affected. The provided CVSS vector lists PR:L, indicating a low-privileged/authenticated context in the scoring source rather than fully unauthenticated access.

Impact

This is a moderate-severity, patch-this-month issue rather than an emergency. The input CVSS of 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects a reflected/stored XSS with a scope change into the victim's browser, requiring low privileges and user interaction. All exploitation-probability signals are low and mutually consistent: EPSS is 0.22% (12th percentile), the CVE is NOT in CISA KEV, and no public exploit was identified - only the vendor patch commit and a regression test demonstrating the escaping gap. The vuln.today decision label is 'this_month', aligning with a genuine-but-non-urgent fix. A key limiting factor tempers the raw score: exploitation only works where an application interpolates attacker-controlled data into a SINGLE-quoted HTML attribute (double-quoted attributes are unaffected), which is not a universal coding pattern, so real-world exposure depends on how downstream Perl applications use HTML::Tags/XML::Tags. Note one data inconsistency: a cve.org reference in the input points to CVE-2026-5090, a different identifier than the analyzed CVE-2026-120212 - verify the cross-reference. Overall: a legitimate medium-priority XSS to patch on a normal cadence, not a widespread-exploitation crisis.

Exploit ScenarioDerived

An attacker submits a crafted value (e.g., via a URL parameter or form field) that a Web::Simple application renders into a single-quoted HTML attribute such as <a href='$value'> using HTML::Tags; because single quotes were not escaped before 0.037, the value closes the attribute and appends an event handler, and when a victim loads the resulting page the injected script executes in their browser. No public working exploit was identified at time of analysis - only the patch commit and a regression test illustrate the flaw. Because the provided CVSS lists PR:L and UI:R, exploitation reflects a low-privileged context plus victim interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 16, 2026

Cross-site scripting in Web::Simple before 0.037 arises because the HTML::Tags and XML::Tags helpers do not escape single quotes when generating markup, so a value interpolated into a single-quoted attribute can close that attribute and add new ones such as event handlers. Applications are affected only when they place attacker-influenced data into single-quoted attributes; double-quoted attributes are explicitly unaffected, and a victim must load the generated page. No public exploit code has been identified at time of analysis, EPSS is 0.22% (12th percentile), and the vendor has released 0.037; the priority is patch this month rather than an emergency.

RemediationAI

Upgrade Web::Simple to 0.037 or later; the vendor-released patch is version 0.037, documented at https://metacpan.org/release/ETHER/Web-Simple-0.037/changes, and the upstream fix commit is https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch. Where upgrading cannot be done immediately, audit application code for attacker-controlled values interpolated into single-quoted HTML attributes and either switch those attributes to double quotes, which the advisory states are not affected, or add explicit single-quote escaping before output; these code-level mitigations require locating every affected template and do not replace the vendor upgrade. The oss-security advisory is at https://seclists.org/oss-sec/2026/q4/635 and the NVD record is at https://nvd.nist.gov/vuln/detail/CVE-2026-120212.

Affected ProductsAI

Web::Simple versions before 0.037 for Perl are affected, specifically the HTML::Tags and XML::Tags helpers shipped in the distribution. No CPE string was included in the supplied intelligence. Vendor and advisory references include the MetaCPAN 0.037 changes page at https://metacpan.org/release/ETHER/Web-Simple-0.037/changes, the upstream patch at https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch, the oss-security advisory at https://seclists.org/oss-sec/2026/q4/635, and the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-120212.

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

Web::Simple is a Perl web framework, and its HTML::Tags and XML::Tags helpers serialize tag structures into HTML or XML strings. Before 0.037, the string-escaping routine replaced only ampersand, double quote, less-than and greater-than with entities and left the single quote unchanged, which is a CWE-79 input-neutralization failure in HTML generation. In the vulnerable coding pattern, an attacker-controlled value placed in a single-quoted attribute, for example <a href='$value'>, can terminate the attribute and append new attributes such as an event handler; double-quoted attributes are not affected. The supplied GitHub commit de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch adds single-quote escaping and a regression test for a value containing an apostrophe, confirming the fix in the 0.037 release.

Know when Perl 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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Standard reflected XSS: network-reachable, no attacker privileges to supply the value (PR:N), victim must load the page (UI:R), and script execution in the browser is a scope change with limited C/I and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

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

Lifecycle Timeline

2
CVSS changed
Nov 16, 2026 - 18:22 NVD
5.4 (MEDIUM)
CVE Published
Nov 10, 2026 - 17:42 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.

HTML::Tags and XML::Tags escape a plain string value by replacing only &, ", < and > with entities. A value interpolated into a single-quoted attribute, as in <a href='$value'>, can therefore close the attribute and add new ones, such as an event handler. Double-quoted attributes are not affected.

An attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
Niche Perl web micro-framework; limited enterprise deployment footprint
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

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