NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
💎
💎 RubyGems
Not in CISA KEV
MEDIUM severity

CVE-2011-1497 — actionpack

MEDIUMFix: rails/rails@61ee344

CVE-2011-1497 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in actionpack. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for actionpack — see the affected versions and patch details below.

Cross site scripting in actionpack Rubygem

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs70th percentile — riskier than 70% of all scored CVEsHighest risk
0.00%0.60%1.19%1.79%0.3%1.3%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
💎actionpack

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

Description

A cross-site scripting vulnerability flaw was found in the auto_link function in Rails before version 3.0.6.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemsactionpack≥ 3.0.0.rc&&< 3.0.63.0.6bundle update actionpack --conservative

Affected Products

1 product · 1 configurations
Application
railsrubyonrails
< 3.0.6
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for actionpack, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update actionpack to 3.0.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2011-1497 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

A cross-site scripting vulnerability flaw was found in the `auto_link` function in Rails before version 3.0.6.
O3 Security · Impact-Aware SCA

Is CVE-2011-1497 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2011-1497: actionpack XSS — Fixed in 3.0.6