gsd-2021-28378
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2021-28378",
    "description": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.",
    "id": "GSD-2021-28378",
    "references": [
      "https://security.archlinux.org/CVE-2021-28378"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-28378"
      ],
      "details": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.",
      "id": "GSD-2021-28378",
      "modified": "2023-12-13T01:23:28.965580Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-28378",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AC:H/AV:N/A:N/C:L/I:L/PR:L/S:U/UI:R",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/go-gitea/gitea/pull/14898",
            "refsource": "MISC",
            "url": "https://github.com/go-gitea/gitea/pull/14898"
          },
          {
            "name": "https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/",
            "refsource": "MISC",
            "url": "https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/"
          },
          {
            "name": "https://github.com/PandatiX/CVE-2021-28378",
            "refsource": "MISC",
            "url": "https://github.com/PandatiX/CVE-2021-28378"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c1.13.4",
          "affected_versions": "All versions before 1.13.4",
          "cvss_v2": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-09-27",
          "description": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations.",
          "fixed_versions": [
            "1.13.4"
          ],
          "identifier": "CVE-2021-28378",
          "identifiers": [
            "GHSA-g95p-88p4-76cm",
            "CVE-2021-28378"
          ],
          "not_impacted": "All versions starting from 1.13.4",
          "package_slug": "go/code.gitea.io/gitea",
          "pubdate": "2021-09-27",
          "solution": "Upgrade to version 1.13.4 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-28378",
            "https://github.com/go-gitea/gitea/pull/14898",
            "https://github.com/go-gitea/gitea/pull/14899",
            "https://github.com/PandatiX/CVE-2021-28378",
            "https://github.com/advisories/GHSA-g95p-88p4-76cm"
          ],
          "uuid": "534c53bc-9608-4e30-9fa1-bd493866a3f9"
        },
        {
          "affected_range": "\u003e=v1.12.0 \u003c=v1.12.6 || \u003e=v1.13.0 \u003cv1.13.4",
          "affected_versions": "All versions starting from 1.12.0 up to 1.12.6, all versions starting from 1.13.0 before 1.13.4",
          "cvss_v2": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2021-12-16",
          "description": "Gitea allows XSS via certain issue data in some situations.",
          "fixed_versions": [
            "v1.13.4"
          ],
          "identifier": "CVE-2021-28378",
          "identifiers": [
            "CVE-2021-28378"
          ],
          "not_impacted": "All versions before 1.12.0, all versions after 1.12.6 before 1.13.0, all versions starting from 1.13.4",
          "package_slug": "go/github.com/go-gitea/gitea",
          "pubdate": "2021-03-15",
          "solution": "Upgrade to version 1.13.4 or above.",
          "title": "Cross-site Scripting",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-28378",
            "https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/"
          ],
          "uuid": "c45a4e68-19b1-48f5-8d59-3e9b796e9a34",
          "versions": [
            {
              "commit": {
                "sha": "9ff88b9c8dfd91ee37bb109b7b911338d70dc6d5",
                "tags": [
                  "v1.12.0"
                ],
                "timestamp": "20200618155433"
              },
              "number": "v1.12.0"
            },
            {
              "commit": {
                "sha": "08209589da0f669a4595841ff3b7d99c3673182c",
                "tags": [
                  "v1.12.6"
                ],
                "timestamp": "20201116065734"
              },
              "number": "v1.12.6"
            },
            {
              "commit": {
                "sha": "f55e479eaaef1b1150ac2ee36b1f4f30cd154dce",
                "tags": [
                  "v1.13.0"
                ],
                "timestamp": "20201202045426"
              },
              "number": "v1.13.0"
            },
            {
              "commit": {
                "sha": "346105192f9a4bc906fc06f872ffa433d5f17c82",
                "tags": [
                  "v1.13.4"
                ],
                "timestamp": "20210307150254"
              },
              "number": "v1.13.4"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.12.6",
                "versionStartIncluding": "1.12.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.13.4",
                "versionStartIncluding": "1.13.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2021-28378"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Gitea 1.12.x and 1.13.x before 1.13.4 allows XSS via certain issue data in some situations."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/go-gitea/gitea/pull/14898",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-gitea/gitea/pull/14898"
            },
            {
              "name": "https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Vendor Advisory"
              ],
              "url": "https://blog.gitea.io/2021/03/gitea-1.13.4-is-released/"
            },
            {
              "name": "https://github.com/PandatiX/CVE-2021-28378",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/PandatiX/CVE-2021-28378"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 3.5,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 6.8,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.3,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2021-12-16T18:20Z",
      "publishedDate": "2021-03-15T06:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.