CVE-2026-137164 (GCVE-0-2026-137164)

Vulnerability from cvelistv5 – Published: 2026-12-02 12:07 – Updated: 2026-12-02 12:07
VLAI
Title
Author-supplied CSS classes pass the markdown sanitizer in Varsel
Summary
Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied class attributes in rendered markdown. Varsel.Cases.Markdown renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any class and style on div, span, pre and code. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs. This issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.
CWE
  • CWE-183 - Permissive List of Allowed Inputs
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 381 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
erlef-cna varsel Affected: 2026-07-30 , < 2026-12-02 (date)
    cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*
Create a notification for this product.
erlef-cna varsel Affected: 67807b013f8fe42cb4d25d0084a810b6cbd2947d , < 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb (git)
    cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-12-02 12:07
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://cna.erlef.org",
          "cpes": [
            "cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Varsel.Cases.Markdown\u0027"
          ],
          "packageName": "cna.erlef.org",
          "product": "varsel",
          "programFiles": [
            "lib/varsel/cases/markdown.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_html/1"
            },
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_display_html/2"
            },
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_comment_html/2"
            }
          ],
          "vendor": "erlef-cna",
          "versions": [
            {
              "lessThan": "2026-12-02",
              "status": "affected",
              "version": "2026-07-30",
              "versionType": "date"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Varsel.Cases.Markdown\u0027"
          ],
          "packageName": "erlef-cna/varsel",
          "packageURL": "pkg:github/erlef-cna/varsel",
          "product": "varsel",
          "programFiles": [
            "lib/varsel/cases/markdown.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_html/1"
            },
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_display_html/2"
            },
            {
              "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_comment_html/2"
            }
          ],
          "repo": "https://github.com/erlef-cna/varsel",
          "vendor": "erlef-cna",
          "versions": [
            {
              "lessThan": "4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb",
              "status": "affected",
              "version": "67807b013f8fe42cb4d25d0084a810b6cbd2947d",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb",
                  "versionStartIncluding": "67807b013f8fe42cb4d25d0084a810b6cbd2947d",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "dateAssigned": "2026-12-02T10:26:06.000Z",
      "datePublic": "2026-12-02T12:07:08.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003ePermissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied \u003ccode\u003eclass\u003c/code\u003e attributes in rendered markdown.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eVarsel.Cases.Markdown\u003c/code\u003e renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any \u003ccode\u003eclass\u003c/code\u003e and \u003ccode\u003estyle\u003c/code\u003e on \u003ccode\u003ediv\u003c/code\u003e, \u003ccode\u003espan\u003c/code\u003e, \u003ccode\u003epre\u003c/code\u003e and \u003ccode\u003ecode\u003c/code\u003e. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs.\u003c/p\u003e\n\u003cp\u003eThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied `class` attributes in rendered markdown.\n\n`Varsel.Cases.Markdown` renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any `class` and `style` on `div`, `span`, `pre` and `code`. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb."
            }
          ],
          "value": "Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied class attributes in rendered markdown.\n\nVarsel.Cases.Markdown renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any class and style on div, span, pre and code. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-148",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page."
                }
              ],
              "value": "An author can cover a case page or a public CVE page with their own content and a link. A viewer sees that content in place of the page."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.1,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "PASSIVE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-183",
              "description": "CWE-183 Permissive List of Allowed Inputs",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-02T12:07:09.849Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "Author-supplied CSS classes pass the markdown sanitizer in Varsel",
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx"
        },
        {
          "name": "EEF CNA record for CVE-2026-137164",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-137164.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-137164",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-137164"
        },
        {
          "name": "Introducing commit 67807b0 in erlef-cna/varsel",
          "tags": [
            "related"
          ],
          "url": "https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d"
        },
        {
          "name": "Fix commit 4c71eb6 in erlef-cna/varsel",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Author-supplied CSS classes pass the markdown sanitizer in Varsel"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-137164",
    "datePublished": "2026-12-02T12:07:09.849Z",
    "dateReserved": "2026-11-30T16:55:42.394Z",
    "dateUpdated": "2026-12-02T12:07:09.849Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-137164",
      "date": "2026-12-03",
      "epss": "0.00601",
      "percentile": "0.5023"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://cna.erlef.org",
                "cpes": [
                  "cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Varsel.Cases.Markdown\u0027"
                ],
                "packageName": "cna.erlef.org",
                "product": "varsel",
                "programFiles": [
                  "lib/varsel/cases/markdown.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_html/1"
                  },
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_display_html/2"
                  },
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_comment_html/2"
                  }
                ],
                "vendor": "erlef-cna",
                "versions": [
                  {
                    "lessThan": "2026-12-02",
                    "status": "affected",
                    "version": "2026-07-30",
                    "versionType": "date"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:erlef-cna:varsel:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Varsel.Cases.Markdown\u0027"
                ],
                "packageName": "erlef-cna/varsel",
                "packageURL": "pkg:github/erlef-cna/varsel",
                "product": "varsel",
                "programFiles": [
                  "lib/varsel/cases/markdown.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_html/1"
                  },
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_display_html/2"
                  },
                  {
                    "name": "\u0027Elixir.Varsel.Cases.Markdown\u0027:to_comment_html/2"
                  }
                ],
                "repo": "https://github.com/erlef-cna/varsel",
                "vendor": "erlef-cna",
                "versions": [
                  {
                    "lessThan": "4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb",
                    "status": "affected",
                    "version": "67807b013f8fe42cb4d25d0084a810b6cbd2947d",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Permissive List of Allowed Inputs vulnerability in erlef-cna Varsel allows Content Spoofing through author-supplied class attributes in rendered markdown.\n\nVarsel.Cases.Markdown renders markdown that may hold literal HTML and sanitizes the result with the default MDEx allow-list. That list keeps any class and style on div, span, pre and code. The site stylesheet has positioning utilities, so an author can draw their own content, including a link, over the page. An author is any user who can write to a case, or a commenter on a linked GitHub advisory who has no account in Varsel. The output is shown on case pages and on public CVE pages. No script runs.\n\nThis issue affects cna.erlef.org: from 2026-07-30 before 2026-12-02; erlef-cna/varsel: from 67807b013f8fe42cb4d25d0084a810b6cbd2947d before 4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb."
          }
        ],
        "id": "CVE-2026-137164",
        "lastModified": "2026-12-02T13:17:14.120",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.1,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-02T13:17:14.120",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-137164.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/erlef-cna/varsel/commit/4c71eb6e970d34d176e4d6de8bc005d5b7da2ecb"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/erlef-cna/varsel/commit/67807b013f8fe42cb4d25d0084a810b6cbd2947d"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/erlef-cna/varsel/security/advisories/GHSA-xq7h-fw5j-9gcx"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-137164"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-183"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.