GHSA-g4xq-jx4w-4cjv

Suggest an improvement
Source
https://github.com/advisories/GHSA-g4xq-jx4w-4cjv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-g4xq-jx4w-4cjv/GHSA-g4xq-jx4w-4cjv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g4xq-jx4w-4cjv
Aliases
Published
2018-11-01T14:46:01Z
Modified
2023-11-01T05:43:28.417939Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Loofah Cross-site Scripting vulnerability
Details

In the Loofah gem for Ruby, through version 2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. Users are advised to upgrade to version 2.2.3.

See https://github.com/flavorjones/loofah/issues/154 for more details.

References

Affected packages

RubyGems / loofah

Package

Name
loofah
Purl
pkg:gem/loofah

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.3

Affected versions

0.*

0.2.0
0.2.1
0.2.2
0.3.0
0.3.1
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7

1.*

1.0.0.beta.1
1.0.0
1.1.0
1.2.0
1.2.1

2.*

2.0.0
2.0.1
2.0.2
2.0.3
2.1.0.rc1
2.1.0.rc2
2.1.0
2.1.1
2.2.0
2.2.1
2.2.2