medium6.1
CVE-2021-35440
Smashing Cross-site Scripting vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | smashing | < 1.3.5 | 1.3.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Smashing Project | Smashing | Version 1.3.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Smashing/smashing/blob/ad7325f159f89854ca4e7d94e7be9bee507b6d46/CHANGELOG.md
- https://github.com/Smashing/smashing/pull/186
- https://github.com/Smashing/smashing/pull/186#issuecomment-871727614
- https://github.com/advisories/GHSA-254j-mmc5-qhpx
- https://nvd.nist.gov/vuln/detail/CVE-2021-35440
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/smashing/CVE-2021-35440.yml
- https://github.com/Smashing/smashing/pull/186/commits/f4648137ae77aa2a9ccd14b2e6eeaed2cfb32da3