Back
CVE-2011-2931
Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in…
Medium4.3EPSS 2.5%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails 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 tag with an invalid name.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 2.5% · top 15% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-v5jg-558j-q67c (opens in a new tab)
References (15)
- [rubyonrails-security] 20110816 XSS Vulnerability in strip_tags helper (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110817 CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2011-11386 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2011-11567 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=731436 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110819 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-2301 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 45921 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- [oss-security] 20110820 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- FEDORA-2011-11572 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-v5jg-558j-q67c (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .