Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. activesupport
  4. ›
  5. CVE-2011-2932

CVE-2011-2932: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

October 24, 2017 (updated September 7, 2021)

Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a malformed Unicode string, related to a “UTF-8 escaping vulnerability.”

References

  • groups.google.com/group/rubyonrails-security/msg/f1d2749773db9f21?dmode=source&output=gplain
  • lists.fedoraproject.org/pipermail/package-announce/2011-September/065114.html
  • lists.fedoraproject.org/pipermail/package-announce/2011-September/065189.html
  • lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html
  • secunia.com/advisories/45917
  • weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
  • www.openwall.com/lists/oss-security/2011/08/17/1
  • www.openwall.com/lists/oss-security/2011/08/19/11
  • www.openwall.com/lists/oss-security/2011/08/20/1
  • www.openwall.com/lists/oss-security/2011/08/22/13
  • www.openwall.com/lists/oss-security/2011/08/22/14
  • www.openwall.com/lists/oss-security/2011/08/22/5
  • bugzilla.redhat.com/show_bug.cgi?id=731435
  • github.com/advisories/GHSA-9fh3-vh3h-q4g3
  • github.com/rails/rails/commit/bfc432574d0b141fd7fe759edfe9b6771dd306bd
  • nvd.nist.gov/vuln/detail/CVE-2011-2932

Code Behaviors & Features

Detect and mitigate CVE-2011-2932 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.3.13, all versions starting from 3.0.0 before 3.0.10

Fixed versions

  • 2.3.13
  • 3.0.10

Solution

Upgrade to versions 2.3.13, 3.0.10 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/activesupport/CVE-2011-2932.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.