Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFind app interpolating input into double-quoted tag string
-
DeliverySubmit value containing script payload
-
ExploitPayload interpolated without entity escaping
-
ExecutionMalicious script executes in victim browser
-
ImpactSession 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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 <script>…</script>. 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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
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
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
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
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-116926
GHSA-x36f-3cwx-9h52
NVD
CVE.org
EPSS
VulDB
Exploit-DB