CVE-2011-1497 json
Cross site scripting in actionpack Rubygem
published 2021-10-19 5 y ago modified 2026-06-16 4 mo ago also GHSA-q58j-fmvf-9rq6 , EUVD-2022-1807
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
A cross-site scripting vulnerability flaw was found in the auto_link function in Rails before version 3.0.6.
Patch / fix
- rubygems actionpack 3.0.6
- rubyonrails rails 3.0.6
- github.com/rails/rails@61ee344 commit
- github.com/rails/rails@ab764ec commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-1497 updated cvss 7.5
rubygem-actionpack: Cross-site scripting in auto_link function
-
Red Hat CloudForms Management Engine 5 cfme-gemset Red Hat 3scale API Management Platform 2 rails Red Hat Satellite 6 tfm-rubygem-rails, tfm-ror52-rubygem-railsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.29% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com https://www.openwall.com/lists/oss-security/2011/04/06/13 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=3.0.0.rc, <3.0.6 |
3.0.6 |
Affected products
- n/a rails
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/61ee3449674c591747db95f9b3472c5c3bd9e84d
web
-
github.com
/rails/rails/commit/ab764ecbfea31a3b14323283287e2fc80955ace6
web
-
openwall.com
/lists/oss-security/2011/04/06/13
web, exploit, mailing-list, third-party-advisory
-
github.com
/rails/rails/blob/38df020c95beca7e12f0188cb7e18f3c37789e20/actionpack/CHANGELOG
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2011-1497
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-1497.yml
web
Sources
- CVE List CVE-2011-1497
- GitHub Advisory GHSA-q58j-fmvf-9rq6
- NVD CVE-2011-1497
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.