{"metadata": {"vulnerability": "CVE-2026-126206", "count": 15, "kinds": {"milestone": 5, "sighting": 2, "kev": 0, "other": 8}, "linked_omitted": 0}, "data": [{"timestamp": "2026-11-10T20:07:44.958Z", "date_only": false, "value": "2026-11-10T20:07:44.958Z", "kind": "milestone", "label": "Reserved", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.dateReserved"}, {"timestamp": "2026-11-12T20:51:36.537Z", "date_only": false, "value": "2026-11-12T20:51:36.537Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, {"timestamp": "2026-11-12T20:51:36.537Z", "date_only": false, "value": "2026-11-12T20:51:36.537Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / GitHub_M", "record": "CVE-2026-126206", "field": "containers.cna.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-12T20:56:30Z", "date_only": false, "value": "2026-11-12T20:56:30Z", "kind": "milestone", "label": "Published", "source": "github \u00b7 GHSA-JCFF-CJ73-4W4F", "record": "GHSA-JCFF-CJ73-4W4F", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-12T20:56:30Z", "date_only": false, "value": "2026-11-12T20:56:30Z", "kind": "other", "label": "Updated", "source": "github \u00b7 GHSA-JCFF-CJ73-4W4F", "record": "GHSA-JCFF-CJ73-4W4F", "field": "modified", "linked_record": true}, {"timestamp": "2026-11-12T20:56:59.143Z", "date_only": false, "value": "2026-11-12T20:56:59.143766Z", "kind": "sighting", "label": "Seen", "source": "https://infosec.exchange/users/cve/statuses/117605467305713270", "record": "CVE-2026-126206", "field": "creation_timestamp", "uuid": "1cf42fe4-0da4-4b67-a561-c511ed9ef73f", "content": "CVE-2026-126206 Loofah allowed_uri? treats data:text&amp;sol;html as safe text/plain Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. In 2.25.2, Loofah::HTML5::Scrub.allowed_uri? treats a data URI mediatype containing the HTML5 named solidus reference &amp;sol; as malformed and falls back to the allowed text/plain, while a browser decodes the reference and interprets the same value as text/html. An application that validates a user-controlled URL with this helper and renders the approved value in href or another browser-interpreted URI attribute can allow cross-site scripting. Rails::HTML::Sanitizer.allowed_uri? re-exports the affected helper. Loofah's default sanitize() path is not affected because Nokogiri decodes the entity before URI validation. This issue is fixed in version 2.25.3.\nhttps://www.cve.org/CVERecord?id=CVE-2026-126206https://github.com/flavorjones/loofah/security/advisories/GHSA-jcff-cj73-4w4fhttps://github.com/flavorjones/loofah/pull/324https://github.com/flavorjones/loofah/commit/ad92002966053309f83b550861e2ef04bc714744https://github.com/flavorjones/loofah/releases/tag/v2.25.3#flavorjones #loofah#CVE_2026_126206#bot", "url": "https://infosec.exchange/users/cve/statuses/117605467305713270"}, {"timestamp": "2026-11-12T21:17:21.670Z", "date_only": false, "value": "2026-11-12T21:17:21.670", "kind": "milestone", "label": "Published", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-126206", "record": "FKIE_CVE-2026-126206", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-12T21:30:49Z", "date_only": false, "value": "2026-11-12T21:30:49.000000Z", "kind": "sighting", "label": "Seen", "source": "https://gist.github.com/alon710/f5cf748815e6c6eee1d3f037d4e80102", "record": "CVE-2026-126206", "field": "creation_timestamp", "uuid": "1a60880a-9964-4589-adc0-97560321816f", "content": "# CVE-2026-126206: CVE-2026-126206: Cross-Site Scripting via HTML5 Named Solidus Entity in Loofah URI Validator\n\n&gt; **CVSS Score:** 5.3\n&gt; **Published:** 2026-11-12\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-126206\n\n## Summary\nCVE-2026-126206 (GHSA-jcff-cj73-4w4f) is a Cross-Site Scripting (XSS) vulnerability in version 2.25.2 of the Loofah Ruby gem. The vulnerability stems from an incomplete character reference normalization routine in the `Loofah::HTML5::Scrub.allowed_uri?` method, which fails to decode the HTML5 named character reference `&sol;` (representing the solidus character `/`). Consequently, a crafted `data:` URI such as `data:text&sol;html,alert(1)` bypasses mediatype validation by triggering the WHATWG MIME parser fallback to `text/plain`, while web browsers later resolve `&sol;` to `/` and execute the payload as `text/html`.\n\n## TL;DR\nLoofah 2.25.2 fails to decode the HTML5 named character reference `&sol;` (`/`) inside `Loofah::HTML5::Scrub.allowed_uri?` (also exposed via `Rails::HTML::Sanitizer.allowed_uri?`). Attackers can supply `data:text&sol;html,...` to bypass URI validation as `text/plain` and achieve Cross-Site Scripting (XSS) when the URI is rendered into an HTML attribute.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **CVE / Advisory ID**: CVE-2026-126206 / GHSA-jcff-cj73-4w4f\n- **Vulnerability Class**: CWE-79 (Cross-Site Scripting) / CWE-184 (Incomplete List of Disallowed Inputs)\n- **CVSS v4.0 Score**: 5.3 Medium (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N)\n- **Affected Component**: Loofah::HTML5::Scrub.allowed_uri? (loofah gem = 2.25.2)\n- **Patched Version**: loofah &gt;= 2.25.3\n- **Attack Vector**: Network (Crafted data: URI using &sol; HTML5 entity)\n- **Exploit Status**: Proof-of-Concept (PoC) Publicly Available\n- **CISA KEV Status**: Not Listed\n\n## Affected Systems\n\n- loofah Ruby gem (version 2.25.2)\n- rails-html-sanitizer (when invoking Rails::HTML::Sanitizer.allowed_uri? with loofah 2.25.2)\n- **loofah**: = 2.25.2 (Fixed in: `2.25.3`)\n\n## Mitigation\n\n- Upgrade the `loofah` Ruby gem to version 2.25.3 or newer across all environments.\n- Prefer full DOM fragment sanitization (`Loofah.scrub_fragment` or Rails `sanitize` helper) over standalone string validation via `allowed_uri?`.\n- Ensure all user-supplied URI strings rendered into HTML attributes pass through standard attribute escaping helpers (such as Rails `link_to` or `tag.a`) rather than raw `.html_safe` string interpolation.\n\n**Remediation Steps:**\n1. Audit project `Gemfile.lock` files using `bundle list | grep loofah` or `bundle exec bundler-audit check --update` to identify instances of `loofah` version `2.25.2`.\n2. Search application source code (`app/`, `lib/`, `config/`) for direct invocations of `Loofah::HTML5::Scrub.allowed_uri?` or `Rails::HTML::Sanitizer.allowed_uri?`.\n3. Update `Gemfile` to require `gem \"loofah\", \"&gt;= 2.25.3\"` and execute `bundle update loofah`.\n4. Run the application test suite and redeploy affected services.\n\n## References\n\n- [CVE-2026-126206 Official CVE Record](https://www.cve.org/CVERecord?id=CVE-2026-126206)\n- [GitHub Security Advisory GHSA-jcff-cj73-4w4f](https://github.com/flavorjones/loofah/security/advisories/GHSA-jcff-cj73-4w4f)\n- [Loofah Fix Commit ad92002966053309f83b550861e2ef04bc714744](https://github.com/flavorjones/loofah/commit/ad92002966053309f83b550861e2ef04bc714744)\n- [Loofah Pull Request #324](https://github.com/flavorjones/loofah/pull/324)\n- [Loofah v2.25.3 Release Notes](https://github.com/flavorjones/loofah/releases/tag/v2.25.3)\n- [RubySec Advisory Database Entry for GHSA-jcff-cj73-4w4f](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/GHSA-jcff-cj73-4w4f.yml)\n- [Loofah GitHub Repository](https://github.com/flavorjones/loofah)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-126206) - Automated Vulnerability Intelligence*", "url": "https://gist.github.com/alon710/f5cf748815e6c6eee1d3f037d4e80102"}, {"timestamp": "2026-11-13T00:00:00Z", "date_only": false, "value": "2026-11-13T00:00:00Z", "kind": "milestone", "label": "Published", "source": "osv_ubuntu \u00b7 UBUNTU-CVE-2026-126206", "record": "UBUNTU-CVE-2026-126206", "field": "published", "metric_role": "disclosure", "metric_basis": "recorded_event", "linked_record": true}, {"timestamp": "2026-11-13T00:00:00Z", "date_only": false, "value": "2026-11-13T00:00:00Z", "kind": "other", "label": "Updated", "source": "osv_ubuntu \u00b7 UBUNTU-CVE-2026-126206", "record": "UBUNTU-CVE-2026-126206", "field": "modified", "linked_record": true}, {"timestamp": "2026-11-13T16:33:59.076Z", "date_only": false, "value": "2026-11-13T16:33:59.076823Z", "kind": "other", "label": "Recorded", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-126206", "field": "containers.adp.0.metrics.0.other.content.timestamp"}, {"timestamp": "2026-11-13T16:33:59.076Z", "date_only": false, "value": "2026-11-13T16:33:59.076823Z", "kind": "other", "label": "Recorded", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-126206", "record": "FKIE_CVE-2026-126206", "field": "metrics.ssvcV203.0.ssvcData.timestamp", "linked_record": true}, {"timestamp": "2026-11-13T22:32:32.734Z", "date_only": false, "value": "2026-11-13T22:32:32.734Z", "kind": "other", "label": "Updated", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.dateUpdated"}, {"timestamp": "2026-11-13T22:32:32.734Z", "date_only": false, "value": "2026-11-13T22:32:32.734Z", "kind": "other", "label": "Updated", "source": "cvelistv5 / CISA-ADP", "record": "CVE-2026-126206", "field": "containers.adp.0.providerMetadata.dateUpdated"}, {"timestamp": "2026-11-13T23:17:15.420Z", "date_only": false, "value": "2026-11-13T23:17:15.420", "kind": "other", "label": "Updated", "source": "fkie_nvd \u00b7 FKIE_CVE-2026-126206", "record": "FKIE_CVE-2026-126206", "field": "lastModified", "linked_record": true}], "metrics": {"as_of": "2026-11-18T13:33:43.066Z", "anchors": {"origin": {"timestamp": "2026-11-12T20:51:36.537Z", "date_only": false, "value": "2026-11-12T20:51:36.537Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "discovery": null, "report": null, "acknowledgement": null, "disclosure": {"timestamp": "2026-11-12T20:51:36.537Z", "date_only": false, "value": "2026-11-12T20:51:36.537Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "exploit_publication": null, "exploitation": null, "patch": null}, "vendor_response_time": {"available": false, "missing": ["start", "end"]}, "time_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit": {"available": false, "missing": ["end"]}, "disclosure_to_exploit_publication": {"available": false, "missing": ["end"]}, "time_to_patch": {"available": false, "missing": ["start", "end"]}, "total_time_to_patch": {"available": false, "missing": ["start", "end"]}, "disclosure_to_patch": {"available": false, "missing": ["end"]}, "time_unpatched": {"available": true, "seconds": 492126.529135, "hours": 136.7018136486111, "days": 5.695908902025463, "min_seconds": 492126.529135, "max_seconds": 492126.529135, "approximate": false, "ongoing": true, "order_known": true, "batch_listing": false, "end_before_start": false, "start": {"timestamp": "2026-11-12T20:51:36.537Z", "date_only": false, "value": "2026-11-12T20:51:36.537Z", "kind": "milestone", "label": "Published", "source": "cvelistv5", "record": "CVE-2026-126206", "field": "cveMetadata.datePublished", "metric_role": "disclosure", "metric_basis": "recorded_event"}, "end": {"timestamp": "2026-11-18T13:33:43.066Z", "date_only": false, "label": "As of", "source": "Calculation clock"}}, "exploitation_to_patch": {"available": false, "missing": ["start"]}, "exploit_publication_to_patch": {"available": false, "missing": ["start"]}}}
