GitHub Advisoryadvisory · RubyGems
GHSA-7g65-ghrg-hpf5 actionpack Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2012-3465
- Ecosystem
- RubyGems
- Packages
- actionpack
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• RubyGems actionpack: >= 3.0.0.beta, < 3.0.17 → fixed in 3.0.17
• RubyGems actionpack: >= 3.1.0, < 3.1.8 → fixed in 3.1.8
• RubyGems actionpack: >= 3.2.0, < 3.2.8 → fixed in 3.2.8
• RubyGems actionpack: < 2.3.16 → fixed in 2.3.16
Description
Cross-site scripting (XSS) vulnerability in `actionpack/lib/action_view/helpers/sanitize_helper.rb` in the `strip_tags` helper in Ruby on Rails before 2.3.16, 3.0.x before 3.0.17, 3.1.x before 3.1.8, and 3.2.x before 3.2.8 allows remote attackers to inject arbitrary web script or HTML via malformed HTML markup.
Related
Alias · CVE (1)
- CVE-2012-3465 Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/sanitize_helper.rb in the strip_tags helper in Ruby on Rails… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3465 advisory
- https://github.com/rails/rails/commit/cf48c9c7dcbef8543171f7f7de8d3d9a16b58e77 web
- https://github.com/rails/rails/commit/e91e4e8bbee12ce1496bf384c04da6be296b687a web
- https://github.com/rails/rails package
- https://groups.google.com/group/rubyonrails-security/msg/7fbb5392d4d282b5?dmode=source&output=gplain web
- http://rhn.redhat.com/errata/RHSA-2013-0154.html web
- http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released web