GHSA-HPR5-WP7C-HH5Q

Vulnerability from github – Published: 2020-09-01 19:37 – Updated: 2021-09-23 21:50
VLAI?
Summary
Cross-Site Scripting in mrk.js
Details

Versions of mrk.js before 2.0.1 are vulnerable to cross-site scripting (XSS) when markdown is converted to HTML.

Recommendation

Update to version 2.0.1 or later and use mark.sanitizeURL() for any src and href attributes when extending the markdown.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "mrk.js"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:28:53Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "Versions of `mrk.js` before 2.0.1 are vulnerable to cross-site scripting (XSS) when markdown is converted to HTML.\n\n\n## Recommendation\n\nUpdate to version 2.0.1 or later and use `mark.sanitizeURL()` for any `src` and `href` attributes when extending the markdown.",
  "id": "GHSA-hpr5-wp7c-hh5q",
  "modified": "2021-09-23T21:50:21Z",
  "published": "2020-09-01T19:37:29Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/heyitsmeuralex/mrk/pull/3"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/heyitsmeuralex/mrk"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/587"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Cross-Site Scripting in mrk.js"
}


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…