Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-35440

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-35440
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:49 UTC · Revision 1

Source evidence

CVE-2021-35440

core-osv · Original source

Published 6 Jul 2021, 15:15 UTC

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.

osv:CVE-2021-35440
Complete source record
{
  "id": "f9615658e4973e6d23a1f810a76cc35306fee2cb05924f4321e5c51dfc83be51",
  "url": "https://osv.dev/vulnerability/CVE-2021-35440",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-35440",
    "summary": "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.",
    "evidence": "osv:CVE-2021-35440",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-35440",
      "aliases": [
        "CVE-2021-35440",
        "GHSA-254j-mmc5-qhpx"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/smashing/smashing",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5f472645fd69cd395cf2fa0befc4e8e0d673d3be"
                },
                {
                  "last_affected": "5f472645fd69cd395cf2fa0befc4e8e0d673d3be"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:smashing_project:smashing:1.3.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.4"
                      },
                      {
                        "last_affected": "1.3.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.3.4",
            "v.1.3.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-35440.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:46.615205572Z",
      "provider": "osv",
      "references": [
        "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-35440",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386128,
  "published_at": "2021-07-06T15:15:07.757+00:00"
}