GSD-2021-25975

Vulnerability from gsd - Updated: 2022-05-24 00:00
Details
In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with 'publisher' role to inject malicious JavaScript via the uploaded html file.
Aliases

{
  "GSD": {
    "alias": "CVE-2021-25975",
    "description": "In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with \u201cpublisher\u201d role to inject malicious JavaScript via the uploaded html file.",
    "id": "GSD-2021-25975"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "publify_core",
            "purl": "pkg:gem/publify_core"
          }
        }
      ],
      "aliases": [
        "CVE-2021-25975",
        "GHSA-3h7v-wqw7-ff28"
      ],
      "details": "In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a\nresult of an unrestricted file upload. This issue allows a user with \u0027publisher\u0027\nrole to inject malicious JavaScript via the uploaded html file.\n",
      "id": "GSD-2021-25975",
      "modified": "2022-05-24T00:00:00.000Z",
      "published": "2022-05-24T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101"
        },
        {
          "type": "WEB",
          "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 5.4,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Cross site scripting in publify"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "vulnerabilitylab@whitesourcesoftware.com",
        "ID": "CVE-2021-25975",
        "STATE": "PUBLIC",
        "TITLE": "Publify - Stored Cross-Site Scripting (XSS) due to Unrestricted File Upload"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "publify_core",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003e=",
                          "version_value": "v8.0"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "v9.2.4"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "publify_core"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with \u201cpublisher\u201d role to inject malicious JavaScript via the uploaded html file."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "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"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-79 Cross-site Scripting (XSS)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974",
            "refsource": "MISC",
            "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"
          },
          {
            "name": "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101",
            "refsource": "MISC",
            "url": "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101"
          }
        ]
      },
      "solution": [
        {
          "lang": "eng",
          "value": "Update to v9.2.5"
        }
      ],
      "source": {
        "advisory": "https://www.whitesourcesoftware.com/vulnerability-database/",
        "discovery": "UNKNOWN"
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2021-25975",
      "cvss_v3": 5.4,
      "date": "2022-05-24",
      "description": "In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a\nresult of an unrestricted file upload. This issue allows a user with \u0027publisher\u0027\nrole to inject malicious JavaScript via the uploaded html file.\n",
      "gem": "publify_core",
      "ghsa": "3h7v-wqw7-ff28",
      "patched_versions": [
        "\u003e= 9.2.5"
      ],
      "related": {
        "url": [
          "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"
        ]
      },
      "title": "Cross site scripting in publify",
      "unaffected_versions": [
        "\u003c 8.0"
      ],
      "url": "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=8.0 \u003c=9.2.4",
          "affected_versions": "All versions starting from 8.0 up to 9.2.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-11-12",
          "description": "Publify is vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with \u201cpublisher\u201d role to inject malicious JavaScript via the uploaded html file.",
          "fixed_versions": [
            "9.2.5"
          ],
          "identifier": "CVE-2021-25975",
          "identifiers": [
            "CVE-2021-25975"
          ],
          "not_impacted": "All versions before 8.0, all versions after 9.2.4",
          "package_slug": "gem/publify_core",
          "pubdate": "2021-11-10",
          "solution": "Upgrade to version 9.2.5 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-25975",
            "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101",
            "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"
          ],
          "uuid": "2aa30739-f215-4279-832a-2e3c35cfeb63"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:publify_project:publify:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "9.2.4",
                "versionStartIncluding": "8.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "vulnerabilitylab@whitesourcesoftware.com",
          "ID": "CVE-2021-25975"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "In publify, versions v8.0 to v9.2.4 are vulnerable to stored XSS as a result of an unrestricted file upload. This issue allows a user with \u201cpublisher\u201d role to inject malicious JavaScript via the uploaded html file."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "N/A",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/publify/publify/commit/d99c0870d3dbbfde7febdc6cad33199b84770101"
            },
            {
              "name": "N/A",
              "refsource": "MISC",
              "tags": [
                "Not Applicable",
                "Third Party Advisory"
              ],
              "url": "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25974"
            }
          ]
        }
      },
      "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-11-12T20:28Z",
      "publishedDate": "2021-11-10T11: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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…