CVE-2021-35440
MEDIUM 6.1CVSS 3.1Smashing Cross-site Scripting vulnerability
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
- 6 Jul 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-254j-mmc5-qhpx
- Sources
- NVDJSONOSV GHSA-254j-mmc5-qhpxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | smashing_project | smashingcpe:2.3:a:smashing_project:smashing:1.3.4:*:*:*:*:*:*:* |
= 1.3.4 | |
| OSV | RubyGems | smashing | < 1.3.5 | 1.3.5 |
References
- https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md · Release Notes, Third Party Advisory, WEB
- https://github.com/Smashing/smashing/pull/186 · Patch, Third Party Advisory, WEB
- https://github.com/Smashing/smashing/pull/186#issuecomment-871727614 · Patch, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-35440 · ADVISORY
- https://github.com/Smashing/smashing/pull/186/commits/f4648137ae77aa2a9ccd14b2e6eeaed2cfb32da3 · WEB
- https://github.com/Smashing/smashing · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/smashing/CVE-2021-35440.yml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 6 Jul 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)