{"id":"CVE-2021-35440","aliases":["GHSA-254j-mmc5-qhpx"],"url":"https://o3.security/vulnerability/CVE-2021-35440","summary":"Smashing Cross-site Scripting vulnerability","details":"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.","published":"2021-07-06T15:15:07.757Z","modified":"2026-07-09T01:25:36.527462Z","cvss":{"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"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"smashing","fixedVersion":"1.3.5"}],"fix":{"url":"https://github.com/Smashing/smashing/pull/186","label":"Smashing/smashing#186"},"references":[{"type":"ADVISORY","url":"https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md"},{"type":"FIX","url":"https://github.com/Smashing/smashing/pull/186"},{"type":"FIX","url":"https://github.com/Smashing/smashing/pull/186#issuecomment-871727614"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T01:25:36.527462Z"}}