{
  "schema_version": "1.4.0",
  "id": "GHSA-3j5x-7ccf-ppgm",
  "modified": "2024-10-26T18:36:32Z",
  "published": "2019-08-21T16:15:33Z",
  "aliases": [
    "CVE-2018-20858"
  ],
  "summary": "Cross-site scripting in recommender-xblock",
  "details": "Recommender before 1.3.1 allows XSS. It is possible for a learner to craft a fake resource to recommender, that includes script which could possibly steal credentials from staff if they are lured into viewing the recommended resource.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "recommender-xblock"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.3.1"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20858"
    },
    {
      "type": "WEB",
      "url": "https://github.com/edx/RecommenderXBlock/pull/2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-3j5x-7ccf-ppgm"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/openedx/RecommenderXBlock"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/recommender-xblock/PYSEC-2019-219.yaml"
    },
    {
      "type": "WEB",
      "url": "https://groups.google.com/forum/#!topic/openedx-announce/SF8Sn6MuUTg"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2019-08-21T16:05:04Z",
    "nvd_published_at": "2019-08-09T16:15:00Z"
  }
}