GSD-2021-35440
Vulnerability from gsd - Updated: 2022-05-24 00:00Details
Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for
a widget can be crafted and used to execute JavaScript on the victim's computer.
The JavaScript code can then steal data available in the session/cookies depending
on the user environment (e.g. if re-using internal URL's for deploying, or cookies
that are very permissive) private information may be retrieved by the attacker.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-35440",
"description": "Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for a widget can be crafted and used to execute JavaScript on the victim\u0027s computer. The JavaScript code can then steal data available in the session/cookies depending on the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies that are very permissive) private information may be retrieved by the attacker.",
"id": "GSD-2021-35440"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "smashing",
"purl": "pkg:gem/smashing"
}
}
],
"aliases": [
"CVE-2021-35440",
"GHSA-254j-mmc5-qhpx"
],
"details": "Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for\na widget can be crafted and used to execute JavaScript on the victim\u0027s computer.\nThe JavaScript code can then steal data available in the session/cookies depending\non the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies\nthat are very permissive) private information may be retrieved by the attacker.\n",
"id": "GSD-2021-35440",
"modified": "2022-05-24T00:00:00.000Z",
"published": "2022-05-24T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/Smashing/smashing/pull/186"
},
{
"type": "WEB",
"url": "https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 6.1,
"type": "CVSS_V3"
}
],
"summary": "Smashing Cross-site Scripting vulnerability"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-35440",
"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": "Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for a widget can be crafted and used to execute JavaScript on the victim\u0027s computer. The JavaScript code can then steal data available in the session/cookies depending on the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies that are very permissive) private information may be retrieved by the attacker."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/Smashing/smashing/pull/186",
"refsource": "MISC",
"url": "https://github.com/Smashing/smashing/pull/186"
},
{
"name": "https://github.com/Smashing/smashing/pull/186#issuecomment-871727614",
"refsource": "MISC",
"url": "https://github.com/Smashing/smashing/pull/186#issuecomment-871727614"
},
{
"name": "https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md",
"refsource": "MISC",
"url": "https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2021-35440",
"cvss_v3": 6.1,
"date": "2022-05-24",
"description": "Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for\na widget can be crafted and used to execute JavaScript on the victim\u0027s computer.\nThe JavaScript code can then steal data available in the session/cookies depending\non the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies\nthat are very permissive) private information may be retrieved by the attacker.\n",
"gem": "smashing",
"ghsa": "254j-mmc5-qhpx",
"patched_versions": [
"\u003e= 1.3.5"
],
"related": {
"url": [
"https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md"
]
},
"title": "Smashing Cross-site Scripting vulnerability",
"url": "https://github.com/Smashing/smashing/pull/186"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "=1.3.4",
"affected_versions": "Version 1.3.4",
"cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2021-07-07",
"description": "Smashing is vulnerable to Cross Site Scripting (XSS). A URL for a widget can be crafted and used to execute JavaScript on the victim\u0027s computer. The JavaScript code can then steal data available in the session/cookies depending on the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies that are very permissive) private information may be retrieved by the attacker.",
"fixed_versions": [
"1.3.5"
],
"identifier": "CVE-2021-35440",
"identifiers": [
"CVE-2021-35440"
],
"not_impacted": "All versions before 1.3.4, all versions after 1.3.4",
"package_slug": "gem/smashing",
"pubdate": "2021-07-06",
"solution": "Upgrade to version 1.3.5 or above.",
"title": "Cross-site Scripting",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-35440"
],
"uuid": "e918f4ff-dcf4-469f-8134-ab784e7058f0"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:smashing_project:smashing:1.3.4:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-35440"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Smashing 1.3.4 is vulnerable to Cross Site Scripting (XSS). A URL for a widget can be crafted and used to execute JavaScript on the victim\u0027s computer. The JavaScript code can then steal data available in the session/cookies depending on the user environment (e.g. if re-using internal URL\u0027s for deploying, or cookies that are very permissive) private information may be retrieved by the attacker."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/Smashing/smashing/pull/186#issuecomment-871727614",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/Smashing/smashing/pull/186#issuecomment-871727614"
},
{
"name": "https://github.com/Smashing/smashing/pull/186",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/Smashing/smashing/pull/186"
},
{
"name": "https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md",
"refsource": "MISC",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
},
"lastModifiedDate": "2021-07-07T17:36Z",
"publishedDate": "2021-07-06T15:15Z"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…