Skip to main content

Web::Simple CVE-2026-114627

| EUVDEUVD-2026-116926 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-04 CPANSec GHSA-x36f-3cwx-9h52
6.1
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

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

  1. Access
    Find app interpolating input into double-quoted tag string
  2. Delivery
    Submit value containing script payload
  3. Exploit
    Payload interpolated without entity escaping
  4. Execution
    Malicious script executes in victim browser
  5. Impact
    Session hijack or action forgery

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 downstream application that (1) uses Web::Simple before 0.036 with 'use HTML::Tags' or 'use XML::Tags', and (2) interpolates an attacker-controlled value directly into a double-quoted string literal such as "Hello $value" that is emitted via to_html_string/to_xml_string. The flaw does NOT trigger when the same value is passed as a separate token (e.g. <p>, $value, </p>), because that path is entity-escaped - so applications that always pass dynamic data as separate arguments are not affected. Limiting factors: user interaction is required (UI:R - a victim must load the page containing the injected value), the affected coding idiom is specific and developer-dependent rather than a default product behavior, and only Web::Simple-based Perl applications are in scope. The complete fix is upgrading to Web::Simple 0.036; the vendor provides no partial mitigation.

Impact

This is a moderate-severity reflected/stored XSS (CWE-79) in the Web::Simple Perl framework, rated CVSS 6.1 (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The signals are internally consistent and point to a genuine but not emergency-level issue: EPSS is low at 0.23% (14th percentile), the vulnerability is NOT in CISA KEV (no confirmed active exploitation), and no public working exploit is identified - only a patch-embedded regression test demonstrating the <script>alert(1)</script> payload. The vuln.today decision label is 'this_month', which aligns with a low-EPSS, non-KEV, developer-dependent XSS rather than an act-now scenario. The real-world risk is tempered by two factors the raw CVSS does not capture: (1) exploitability depends entirely on whether a downstream application actually interpolates attacker-controlled data into a double-quoted string literal under HTML::Tags/XML::Tags - values passed as separate tokens are correctly escaped; and (2) Web::Simple is a niche Perl web framework with limited deployment. Attack vector is network and complexity is low, but UI:R means a victim must load the affected page. No conflicting signals were found; the CVSS vector, description, and commit diff all agree this is output-encoding XSS. This is a real priority for the small population of affected Web::Simple applications but does not warrant emergency response broadly.

Exploit ScenarioDerived

An application built on Web::Simple renders user-supplied data (e.g. a name or comment) into a double-quoted interpolated string such as "Hello $value" under 'use HTML::Tags'. An attacker submits a value containing <script>...</script>; because the StringThing stringify path passes interpolated parts through without entity-escaping, the script is embedded verbatim in the generated HTML and executes in the victim's browser when they view the page. No public working exploit is identified, though the patch commit includes a test proving the injection.

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 10, 2026

Cross-site scripting in Web::Simple (Perl) before 0.036 allows attacker-controlled values to reach generated markup unescaped when a downstream application interpolates them into double-quoted string literals that are emitted through HTML::Tags or XML::Tags. Only that specific coding idiom is affected: the identical value passed as a standalone token, as in <p>, $value, </p>, is correctly entity-escaped, so applications that always pass dynamic data as separate arguments are not exposed. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (6.1), reflecting that unauthenticated remote input can be injected but a victim must load the resulting page; EPSS is low (0.23%, 14th percentile), no CISA KEV listing applies, and no public exploit was identified at time of analysis. The vendor-released fix is Web::Simple 0.036.

RemediationAI

Upgrade to Web::Simple 0.036, the vendor-released patched version, via the MetaCPAN distribution ETHER/Web-Simple-0.036 (https://metacpan.org/release/ETHER/Web-Simple-0.036/changes); the upstream commit patch is at https://github.com/p5sagit/Web-Simple/commit/01e575827fdd9ba3a08063fd414b1de465380015.patch. The vendor provides no partial mitigation for the vulnerable code path, so upgrading is the complete fix and is the appropriate scheduled action for this month per the current priority decision. Where an immediate upgrade is not possible, application developers can avoid the defect by never interpolating untrusted values into double-quoted strings destined for HTML::Tags/XML::Tags output - pass such values as separate arguments (for example <p>, $value, </p>), which takes the entity-escaping path, or pre-escape values with an HTML entity encoder before interpolation; both approaches place the burden on every call site and are easy to regress, so they are temporary compensations rather than a substitute for 0.036.

Affected ProductsAI

All releases of Web::Simple for Perl prior to 0.036 are affected, specifically when the application loads the bundled HTML::Tags or XML::Tags modules ('use HTML::Tags' / 'use XML::Tags') and interpolates dynamic values into double-quoted string literals that are then serialized with to_html_string or to_xml_string. Independent of version, code that only passes dynamic data as separate arguments is not affected by this defect. No CPE strings were provided in the supplied intelligence. Confirmation of the affected range and the fix is documented in the MetaCPAN changelog for Web-Simple-0.036 (https://metacpan.org/release/ETHER/Web-Simple-0.036/changes) and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-114627); the reporter is CPANSec, with the issue also discussed on oss-security (https://seclists.org/oss-sec/2026/q4/512).

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 bundles the HTML::Tags and XML::Tags templating helpers, which build tag objects and serialize them through to_html_string/to_xml_string. Under those modules a double-quoted string literal is compiled into a StringThing object that stores each interpolated value as a separate part; the escaping stage in the serializer passes such objects through unchanged, and stringify then joins their parts verbatim. Consequently entity escaping is applied to scalar values supplied as their own argument but skipped for values embedded inside an interpolated string. The upstream commit (01e575827fdd9ba3a08063fd414b1de465380015) fixes this in lib/XML/Tags.pm by routing each element of an interpolated string through XML::Tags::to_xml_string() instead of dereferencing it raw, and adds a regression test asserting that "Hello $i" with $i set to <script>alert(1)</script> serializes as &lt;script&gt;…&lt;/script&gt;. The weakness class is CWE-79 (improper neutralization of input during web page generation); no CPE identifiers were supplied with the source data.

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

Classic output-encoding XSS: network vector, low complexity, no attacker auth, victim interaction to render the page (UI:R), scope change into the browser, limited confidentiality/integrity impact 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
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 10, 2026 - 13:22 NVD
6.1 (MEDIUM)
CVE Published
Nov 04, 2026 - 14:31 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Web::Simple versions before 0.036 for Perl do not escape values interpolated into double-quoted strings in HTML::Tags output.

Under use HTML::Tags or use XML::Tags, a double-quoted string literal becomes a StringThing object that holds each interpolated value as a separate part. The escaping step passes such objects through, and stringify joins their interpolated parts as is. A value passed on its own, as in <p>, $value, </p>, is entity-escaped, but the same value in "Hello $value" is not.

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

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche Perl web micro-framework, limited enterprise deployment footprint
Social Media
1
Sightings
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 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

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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