ghsa-f9vc-q3hh-qhfv
Vulnerability from github
Published
2020-08-31 22:56
Modified
2020-08-31 18:08
Summary
Content Injection in remarkable
Details

Versions 1.4.0 and earlier of remarkable are affected by a cross-site scripting vulnerability. This occurs because vulnerable versions of remarkable did not properly whitelist link protocols, and consequently allowed javascript: to be used.

Proof of Concept

Markdown Source: [link](<javascript:alert(1)>)

Rendered HTML: <a href="javascript:alert(1)">link</a>

Recommendation

Update to version 1.4.1 or later

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "remarkable"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.4.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2014-10065"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:08:29Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "Versions 1.4.0 and earlier of `remarkable` are affected by a cross-site scripting vulnerability. This occurs because vulnerable versions of `remarkable` did not properly whitelist link protocols, and consequently allowed `javascript:` to be used. \n\n\n### Proof of Concept\n\nMarkdown Source:\n```\n[link](\u003cjavascript:alert(1)\u003e)\n```\n\nRendered HTML:\n```\n\u003ca href=\"javascript:alert(1)\"\u003elink\u003c/a\u003e\n```\n\n\n## Recommendation\n\nUpdate to version 1.4.1 or later",
  "id": "GHSA-f9vc-q3hh-qhfv",
  "modified": "2020-08-31T18:08:29Z",
  "published": "2020-08-31T22:56:00Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-10065"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jonschlinkert/remarkable/issues/97"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jonschlinkert/remarkable/commit/d54ed887f4997221cd7cb9790e953a83c504de36"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/30"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Content Injection in remarkable"
}


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.


Loading…

Loading…