CVE-2013-6459 will_paginate Cross-site Scripting vulnerability
Remote attackers can inject arbitrary web script or HTML via generated pagination links in the will_paginate Ruby gem.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2013-6459?
CVE-2013-6459 is a medium-severity cross-site scripting vulnerability in n/a, published on 31 Dec 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the will_paginate gem before 3.0.5 for Ruby allows remote attackers to inject arbitrary web script or HTML via vectors involving generated pagination links.
Weakness: CWE-79
Which versions are affected by CVE-2013-6459?
2 open source packages ship an affected version, including will_paginate. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
will_paginate RubyGems | All versions | 3.0.5 |
will_paginate RubyGems | All versions | 3.0.5 |
Products include Mislav Marohnic Will Paginate.
How do I fix CVE-2013-6459?
Upgrade will_paginate to 3.0.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2013-6459 being exploited?
There is no known exploitation of CVE-2013-6459 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2013-6459, GHSA-8r6h-7x9g-xmw9, MGASA-2014-0054.