107 lines
4.2 KiB
JSON
107 lines
4.2 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-120212",
|
|
"assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "CPANSec",
|
|
"dateReserved": "2026-10-31T13:26:38.835Z",
|
|
"datePublished": "2026-11-10T17:42:05.207Z",
|
|
"dateUpdated": "2026-11-10T17:42:05.207Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"affected": [
|
|
{
|
|
"collectionURL": "https://cpan.org/modules",
|
|
"defaultStatus": "unaffected",
|
|
"modules": [
|
|
"Web::Simple"
|
|
],
|
|
"packageName": "Web-Simple",
|
|
"packageURL": "pkg:cpan/Web-Simple",
|
|
"programFiles": [
|
|
"lib/XML/Tags.pm"
|
|
],
|
|
"programRoutines": [
|
|
{
|
|
"name": "XML::Tags::to_xml_string"
|
|
}
|
|
],
|
|
"repo": "https://github.com/p5sagit/Web-Simple",
|
|
"versions": [
|
|
{
|
|
"lessThan": "0.037",
|
|
"status": "affected",
|
|
"version": "0",
|
|
"versionType": "custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output.\n\nHTML::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.\n\nAn attacker who controls a value that an application interpolates into a single-quoted attribute can inject script into the generated page."
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-79",
|
|
"description": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
|
|
"shortName": "CPANSec",
|
|
"dateUpdated": "2026-11-10T17:42:05.207Z"
|
|
},
|
|
"references": [
|
|
{
|
|
"tags": [
|
|
"patch"
|
|
],
|
|
"url": "https://github.com/p5sagit/Web-Simple/commit/de0b7743f7015ec2c1c678dfdaa4bc6f5ccfb640.patch"
|
|
},
|
|
{
|
|
"tags": [
|
|
"release-notes"
|
|
],
|
|
"url": "https://metacpan.org/release/ETHER/Web-Simple-0.037/changes"
|
|
},
|
|
{
|
|
"tags": [
|
|
"related"
|
|
],
|
|
"url": "https://www.cve.org/CVERecord?id=CVE-2026-5090"
|
|
}
|
|
],
|
|
"solutions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Upgrade to Web-Simple 0.037 or later."
|
|
}
|
|
],
|
|
"source": {
|
|
"discovery": "UNKNOWN"
|
|
},
|
|
"title": "Web::Simple versions before 0.037 for Perl do not escape single quotes in HTML::Tags output",
|
|
"workarounds": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Use double-quoted attributes for values that may contain untrusted data."
|
|
}
|
|
],
|
|
"x_generator": {
|
|
"engine": "cpansec-cna-tool 0.1"
|
|
}
|
|
}
|
|
}
|
|
} |