Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions gems/omniauth/CVE-2026-63183.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
gem: omniauth
cve: 2026-63183
ghsa: m27g-v28p-f9fx
url: https://nvd.nist.gov/vuln/detail/CVE-2026-63183
title: OmniAuth - Host Header Injection Vulnerability
date: 2026-10-22
description: |
Host header injection risk when using Omniauth with a web framework
that does not verify incoming host headers. An example of a framework
that provides host header validation is modern Rails when
[configured appropriately](https://guides.rubyonrails.org/v6.1.1/configuring.html#configuring-middleware)
cvss_v4: 6.9
patched_versions:
- ">= 2.2.0"
related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2026-63183
- https://rubygems.org/gems/omniauth/versions/2.2.0
- https://github.com/omniauth/omniauth/releases/tag/v2.2.0
- https://github.com/omniauth/omniauth/blob/master/CHANGELOG.md#220---2026-10-22
- https://github.com/omniauth/omniauth/commit/943b44faea242f063fa9230254fe7d60cfcc9c90
- https://advisories.gitlab.com/gem/omniauth/CVE-2026-63183
- https://osv.dev/vulnerability/GHSA-m27g-v28p-f9fx
- https://github.com/omniauth/omniauth/security/advisories/GHSA-m27g-v28p-f9fx
- https://github.com/advisories/GHSA-m27g-v28p-f9fx
notes: |
- cvss_v4 from GHSA URL.
- date from rubygems.org URL.
- NOTE: Repo security advisories does not have "Patched versions"
value, but global GHSA does (therefore did not use its `date` value).
63 changes: 63 additions & 0 deletions gems/sanitize/GHSA-599p-54q3-ff89.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
gem: sanitize
ghsa: 599p-54q3-ff89
url: https://github.com/rgrove/sanitize/security/advisories/GHSA-599p-54q3-ff89
title: Namespace confusion after removing `<math>` or `<svg>`
elements may allow XSS
date: 2026-11-02
description: |
When Sanitize is configured to allow certain elements, such as
<textarea>, <title>, <xmp>, <noembed>, <noframes>, or <select>,
and isn't configured to remove the contents of <math> and <svg>
elements (which it does by default), an attacker can use a MathML
or SVG element to smuggle arbitrary HTML, including scripts, past Sanitize.

This is possible because these elements are parsed as foreign elements
when Sanitize sees them, but browsers parse them as HTML elements
after Sanitize removes their <math> or <svg> ancestor.
This affects Sanitize 3.0.0 through 7.0.1 and is fixed in Sanitize 7.0.2.

Sanitize's built-in DEFAULT, RESTRICTED, BASIC, and RELAXED configs
aren't affected.

## Impact

An attacker who can submit HTML that's sanitized with an affected
config can inject arbitrary HTML, including JavaScript that executes
in the context of the site that displays the sanitized HTML
(cross-site scripting).

A config is affected if it doesn't remove the contents of both
<math> and <svg> elements, and it also meets the conditions of
at least one variant:

* remove_contents: By default, remove_contents includes math and
svg, so this only applies to configs that set remove_contents to
false or to a list of elements that doesn't include both math and svg.

* Variants 1–3: The config allows at least one of the <textarea>,
<title>, <xmp>, <noembed>, or <noframes> elements, and either
allows at least one attribute on an element that can appear
inside it without exiting foreign content, such as <a> or the
text content element itself (Variant 1), sets allow_comments: true
(Variant 2), or allows at least one of the <xmp>, <noembed>,
<noframes>, or <plaintext> elements (Variant 3).

* Variant 4: The config allows the <select> element and at least
one of the <xmp>, <noembed>, <noframes>, or <plaintext> elements.
cvss_v4: 5.3
unaffected_versions:
- "< 3.0.0"
patched_versions:
- ">= 7.0.2"
related:
url:
- https://rubygems.org/gems/sanitize/versions/7.0.2
- https://github.com/rgrove/sanitize/blob/main/CHANGELOG.md#702-2026-11-02
- https://github.com/whatwg/html/pull/6362
- https://github.com/sparklemotion/nokogiri/pull/3741
notes: |
- No CVE from GHSA URL.
- cvss_v4 from GHSA URL.
- date from rubygems.org URL.
- See 3 "GHSA" references in CHANGELOG URL.
48 changes: 48 additions & 0 deletions gems/sanitize/GHSA-mg79-gw37-jxx7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
gem: sanitize
ghsa: mg79-gw37-jxx7
url: https://github.com/rgrove/sanitize/security/advisories/GHSA-mg79-gw37-jxx7
title: Raw text elements inside `<template>` inside `<select>` may allow XSS
date: 2026-11-02
description: |
When Sanitize is configured to allow <select> elements and at least
one raw text element, such as <style>, <xmp>, <noembed>, <noframes>,
or <plaintext>, an attacker can use a <template> element to smuggle
arbitrary HTML, including scripts, past Sanitize in browsers that
use legacy <select> parsing rules.

This is possible because the HTML parser allows raw text elements
inside a <template> element inside a <select> element, but legacy
<select> parsing rules ignore raw text elements' start tags after
Sanitize removes the <template> element.
This affects Sanitize 3.0.0 through 7.0.1 and is fixed in Sanitize 7.0.2.

Sanitize's built-in DEFAULT, RESTRICTED, BASIC, and RELAXED configs
aren't affected, but a config that adds select to the RELAXED config's
allowed elements is affected, since RELAXED allows <style> elements.

## Impact

A config is affected if it allows the <select> element and at least
one of the <style>, <xmp>, <noembed>, <noframes>, or <plaintext>
elements, and doesn't include template in remove_contents (or
set remove_contents: true).

Browsers that use legacy <select> parsing rules are affected.
Browsers that implement customizable <select> parsing rules
aren't affected.
cvss_v4: 5.3
unaffected_versions:
- "< 3.0.0"
patched_versions:
- ">= 7.0.2"
related:
url:
- https://rubygems.org/gems/sanitize/versions/7.0.2
- https://github.com/rgrove/sanitize/blob/main/CHANGELOG.md#702-2026-11-02
- https://github.com/rgrove/sanitize/security/advisories/GHSA-mg79-gw37-jxx7
notes: |
- No CVE from GHSA URL.
- cvss_v4 from GHSA URL.
- date from rubygems.org URL.
- See 1 "GHSA" reference in CHANGELOG URL.
Loading