ghsa-q3wr-qw3g-3p4h
Vulnerability from github
Published
2021-01-11 19:06
Modified
2022-10-07 20:41
Severity ?
VLAI Severity ?
Summary
Injection/XSS in Redcarpet
Details
Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the :escape_html option was being used. This is fixed in version 3.5.1 by the referenced commit.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "redcarpet"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.5.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-26298"
],
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2021-01-11T19:05:42Z",
"nvd_published_at": "2021-01-11T19:15:00Z",
"severity": "MODERATE"
},
"details": "Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the `:escape_html` option was being used. This is fixed in version 3.5.1 by the referenced commit.",
"id": "GHSA-q3wr-qw3g-3p4h",
"modified": "2022-10-07T20:41:40Z",
"published": "2021-01-11T19:06:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26298"
},
{
"type": "WEB",
"url": "https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-q3wr-qw3g-3p4h"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/redcarpet/CVE-2020-26298.yml"
},
{
"type": "PACKAGE",
"url": "https://github.com/vmg/redcarpet"
},
{
"type": "WEB",
"url": "https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI"
},
{
"type": "WEB",
"url": "https://rubygems.org/gems/redcarpet"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2021/dsa-4831"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N",
"type": "CVSS_V3"
}
],
"summary": "Injection/XSS in Redcarpet"
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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…