{
  "schema_version": "1.4.0",
  "id": "GHSA-9c8w-jrw3-q2c3",
  "modified": "2024-05-15T06:53:26Z",
  "published": "2021-08-02T16:58:43Z",
  "aliases": [
    "CVE-2021-35043"
  ],
  "summary": "Cross-site Scripting in OWASP AntiSamy",
  "details": "OWASP AntiSamy before 1.6.4 allows XSS via HTML attributes when using the HTML output serializer (XHTML is not affected). This was demonstrated by a javascript: URL with &#00058 as the replacement for the : character.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.owasp.antisamy:antisamy"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "1.5.7"
            },
            {
              "fixed": "1.6.4"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-35043"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nahsra/antisamy/pull/87"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nahsra/antisamy"
    },
    {
      "type": "WEB",
      "url": "https://github.com/nahsra/antisamy/releases/tag/v1.6.4"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-07-19T21:38:51Z",
    "nvd_published_at": "2021-07-19T15:15:00Z"
  }
}