{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-35440","published":"2021-07-06T15:15:07.757000Z","last_modified":"2026-06-17T03:57:30.463000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:smashing_project:smashing:1.3.4:*:*:*:*:*:*:*","part":"a","vendor":"smashing_project","product":"smashing","version":"1.3.4"}],"cpes_truncated":false,"vendors":["smashing_project"],"products":["smashing_project/smashing"],"epss":{"score":0.00995,"percentile":0.61599,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-254j-mmc5-qhpx","ecosystem":"RubyGems","name":"smashing","purl":"pkg:gem/smashing","ranges":[{"introduced":"0","fixed":"1.3.5"}],"versions":["1.0.0","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-35440/","html_en":"/en/cve/CVE-2021-35440/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-35440","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-35440"},"untrusted":{"vendor_name":"Smashing Project","product_name":"Smashing","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/Smashing/smashing/pull/186","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/Smashing/smashing/pull/186#issuecomment-871727614","tags":["Patch","Third Party Advisory"]}]}}