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
Published Aug 29, 2011
4.3
MEDIUMCVSS 2.0
EPSS 2.49%
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.
Affected products
No data.
- 2.0.0
- 2.0.0
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.4
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.1
- 3.0.1
- 3.0.2
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.5
- 3.0.6
- 3.0.6
- 3.0.6
- 3.0.7
- 3.0.7
- 3.0.7
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.10
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.0.4
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.49% (0.02492) | 84.08th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.49% (0.02492) | 82.53th | v5 (v2026.06.15) |
| Mar 17, 2025 | 1.08% (0.01077) | 76.27th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.31% (0.00308) | 70.76th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.31% (0.00308) | 69.10th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.31% (0.00308) | 65.15th | v3 (v2023.03.01) |
| Mar 6, 2023 | 3.41% (0.03407) | 84.65th | v2 (v2022.01.01) |
| Apr 1, 2022 | 3.41% (0.03407) | 83.10th | v2 (v2022.01.01) |
| Feb 4, 2022 | 3.41% (0.03407) | 66.20th | v2 (v2022.01.01) |
References (18)
- http://groups.google.com/group/rubyonrails-security/msg/fd41ab62966e0fd1?dmode=source&output=gplain mailing-listx_refsource_MLISTPatch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065109.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065137.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html vendor-advisoryx_refsource_FEDORA
- http://secunia.com/advisories/45921 third-party-advisoryx_refsource_SECUNIA
- http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6 x_refsource_CONFIRMPatch
- http://www.debian.org/security/2011/dsa-2301 vendor-advisoryx_refsource_DEBIAN
- http://www.openwall.com/lists/oss-security/2011/08/17/1 mailing-listx_refsource_MLISTPatch
- http://www.openwall.com/lists/oss-security/2011/08/19/11 mailing-listx_refsource_MLISTPatch
- http://www.openwall.com/lists/oss-security/2011/08/20/1 mailing-listx_refsource_MLISTPatch
- http://www.openwall.com/lists/oss-security/2011/08/22/13 mailing-listx_refsource_MLISTPatch
- http://www.openwall.com/lists/oss-security/2011/08/22/14 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2011/08/22/5 mailing-listx_refsource_MLISTPatch
- https://bugzilla.redhat.com/show_bug.cgi?id=731436 x_refsource_CONFIRMPatch
- https://github.com/advisories/GHSA-v5jg-558j-q67c Advisory
- https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a x_refsource_CONFIRMPatch
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-2931.yml
- https://nvd.nist.gov/vuln/detail/CVE-2011-2931
Change history (0)
No recorded changes yet.