gsd-2018-25047
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2018-25047",
"description": "In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.",
"id": "GSD-2018-25047",
"references": [
"https://advisories.mageia.org/CVE-2018-25047.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2018-25047"
],
"details": "In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.",
"id": "GSD-2018-25047",
"modified": "2023-12-13T01:22:36.751401Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2018-25047",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/smarty-php/smarty/issues/454",
"refsource": "MISC",
"url": "https://github.com/smarty-php/smarty/issues/454"
},
{
"name": "https://github.com/smarty-php/smarty/releases/tag/v4.2.1",
"refsource": "MISC",
"url": "https://github.com/smarty-php/smarty/releases/tag/v4.2.1"
},
{
"name": "https://github.com/smarty-php/smarty/releases/tag/v3.1.47",
"refsource": "MISC",
"url": "https://github.com/smarty-php/smarty/releases/tag/v3.1.47"
},
{
"name": "https://bugs.gentoo.org/870100",
"refsource": "MISC",
"url": "https://bugs.gentoo.org/870100"
},
{
"name": "GLSA-202209-09",
"refsource": "GENTOO",
"url": "https://security.gentoo.org/glsa/202209-09"
},
{
"name": "[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update",
"refsource": "MLIST",
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c3.1.47||\u003e=4.0.0,\u003c4.2.1",
"affected_versions": "All versions before 3.1.47, all versions starting from 4.0.0 before 4.2.1",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2022-09-16",
"description": "In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user.",
"fixed_versions": [
"3.1.47",
"4.2.1"
],
"identifier": "CVE-2018-25047",
"identifiers": [
"GHSA-hwq7-5vv9-c6cf",
"CVE-2018-25047"
],
"not_impacted": "All versions starting from 3.1.47 before 4.0.0, all versions starting from 4.2.1",
"package_slug": "packagist/smarty/smarty",
"pubdate": "2022-09-16",
"solution": "Upgrade to versions 3.1.47, 4.2.1 or above.",
"title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-25047",
"https://github.com/smarty-php/smarty/issues/454",
"https://bugs.gentoo.org/870100",
"https://github.com/smarty-php/smarty/releases/tag/v3.1.47",
"https://github.com/smarty-php/smarty/releases/tag/v4.2.1",
"https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9",
"https://github.com/advisories/GHSA-hwq7-5vv9-c6cf"
],
"uuid": "dc0e1a0e-4d5d-4c46-9c48-77cc0f78139c"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.1.47",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "4.2.1",
"versionStartIncluding": "4.0.0",
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2018-25047"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/smarty-php/smarty/releases/tag/v4.2.1",
"refsource": "MISC",
"tags": [
"Release Notes"
],
"url": "https://github.com/smarty-php/smarty/releases/tag/v4.2.1"
},
{
"name": "https://github.com/smarty-php/smarty/releases/tag/v3.1.47",
"refsource": "MISC",
"tags": [
"Release Notes"
],
"url": "https://github.com/smarty-php/smarty/releases/tag/v3.1.47"
},
{
"name": "https://bugs.gentoo.org/870100",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Third Party Advisory"
],
"url": "https://bugs.gentoo.org/870100"
},
{
"name": "https://github.com/smarty-php/smarty/issues/454",
"refsource": "MISC",
"tags": [
"Exploit",
"Issue Tracking",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/smarty-php/smarty/issues/454"
},
{
"name": "GLSA-202209-09",
"refsource": "GENTOO",
"tags": [
"Third Party Advisory"
],
"url": "https://security.gentoo.org/glsa/202209-09"
},
{
"name": "[debian-lts-announce] 20230105 [SECURITY] [DLA 3262-1] smarty3 security update",
"refsource": "MLIST",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00002.html"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "LOW",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.3,
"impactScore": 2.7
}
},
"lastModifiedDate": "2023-03-03T20:00Z",
"publishedDate": "2022-09-15T00:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…