Vulnerabilities in pkg:gem/will_paginate
PACKAGECVE-2013-6459 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Will paginate libraries in the RubyGems ecosystem. The issue involves will_paginate cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 3.0.5.
pkg:gem/will_paginate
Vulnerability advisories affecting package pkg:gem/will_paginate. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8r6h-7x9g-xmw9 | CVE-2013-6459 | MODERATE | will_paginate Cross-site Scripting vulnerability |
CVE-2013-6459 at a Glance
How to Fix CVE-2013-6459
To remediate this vulnerability, upgrade all affected Will paginate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade will_paginate to 3.0.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for will_paginate
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-6459, inspect your project dependencies for Will paginate:
inspect dependencies for will_paginate
Analyze the terminal output to locate any version of Will paginate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Will paginate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-6459 Affected Will paginate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
will_paginate
|
RubyGems |
< 3.0.5
|
3.0.5
|
References
Frequently Asked Questions
What is CVE-2013-6459?
Which Will paginate versions are affected?
What version fixes CVE-2013-6459?
Is will_paginate affected?
What CWE is associated with CVE-2013-6459?
How can I check RubyGems dependencies for CVE-2013-6459?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8r6h-7x9g-xmw9",
"modified" : "2023-01-23T20:49:57Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2013-6459" ],
"summary" : "will_paginate Cross-site Scripting vulnerability",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "will_paginate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-6459"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:0336"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mislav/will_paginate"
}, {
"type" : "WEB",
"url" : "https://github.com/mislav/will_paginate/releases/tag/v3.0.5"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150709163604/http://www.securityfocus.com/bid/64509"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:26:31Z",
"nvd_published_at" : "2013-12-31T16:04:23Z"
}
}