{
  "schema_version": "1.4.0",
  "id": "GHSA-mfv8-q39f-mgfg",
  "modified": "2024-09-20T21:56:34Z",
  "published": "2019-07-16T00:52:26Z",
  "aliases": [
    "CVE-2019-1020005"
  ],
  "summary": "Cross-site Scripting in invenio-communities",
  "details": "## Cross-Site Scripting (XSS) vulnerability in Jinja templates\n\n### Impact\nA Cross-Site Scripting (XSS) vulnerability was discovered in two Jinja templates in the Invenio-Communities module. The vulnerability allows a user to create a new community and include script element tags inside the description and page fields. \n\n### Patches\nThe problem has been patched in v1.0.0a20.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [info@inveniosoftware.org](mailto:info@inveniosoftware.org)",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "invenio-communities"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.0a20"
            }
          ]
        }
      ],
      "database_specific": {
        "last_known_affected_version_range": "<= 1.0.0a19"
      }
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/inveniosoftware/invenio-communities/security/advisories/GHSA-mfv8-q39f-mgfg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-1020005"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/inveniosoftware/invenio-communities/commit/505da72c5acd7dfbd4148f884c73c9c3372b76f4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-mfv8-q39f-mgfg"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/invenio-communities/PYSEC-2019-25.yaml"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:46:01Z",
    "nvd_published_at": null
  }
}