Skip to content
Fencer Intel
medium 4.3

CVE-2013-1857 json

actionpack Cross-site Scripting vulnerability

published 13y ago modified 4mo ago also GHSA-j838-vfpq-fmf2 , EUVD-2017-0258

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.9%
EPSS 1.9% chance of exploitation in 30 days, percentile 79%
public exploits
0
none known

Summary

The sanitize helper in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle encoded : (colon) characters in URLs, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via a crafted scheme name, as demonstrated by including a : sequence.

Patch / fix

  • rubygems actionpack 2.3.18, 3.1.12, 3.2.13
  • rails Debian 14, Debian 13, Debian 12 2.3.14.1

debian advisories DEBIAN-CVE-2013-1857

  • rubygem-actionpack openshift 1 1:3.0.13-8.el6op
  • ruby193-rubygem-actionpack openshift 1 1:3.2.8-5.el6

red hat advisories RHSA-2013:0698

Is CVE-2013-1857 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-2013-1857 updated cvss 4.3

rubygem-actionpack: sanitize_protocol: XSS Vulnerability in the helper of Ruby on Rails

  • Red Hat Satellite 6 ruby193-rubygem-actionpack
    affected: no fix available
  • Red Hat OpenShift Enterprise Infrastructure rubygem-actionpack 3.0.13-8.el6op, ruby193-rubygem-actionpack 3.2.8-5.el6 Red Hat OpenShift Enterprise Node ruby193-rubygem-actionpack 3.2.8-5.el6
    fixed: vendor fix RHSA-2013:0698
  • Red Hat Subscription Asset Manager for RHEL 6 Server katello 1.4.3.28-1.el6sam_splice, ruby193-rubygem-i18n 0.6.9-1.el6sam, ruby193-rubygem-mail 2.5.4-1.el6sam, ruby193-rubygem-rack 1.4.5-3.el6sam, ruby193-rubygem-rails 3.2.17-1.el6sam, katello-common 1.4.3.28-1.el6sam_splice, +11 more
    fixed: vendor fix RHSA-2014:1863

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.85% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems actionpack
<2.3.18
>=3.0.0, <3.1.12
>=3.2.0, <3.2.13
2.3.18
3.1.12
3.2.13

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

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.