Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. actionpack
  4. ›
  5. CVE-2013-1857

CVE-2013-1857: XSS Vulnerability in the `sanitize` helper

March 19, 2013 (updated August 8, 2019)

The sanitize helper in Ruby on Rails is designed to filter HTML and remove all tags and attributes which could be malicious.

References

  • groups.google.com/forum/?fromgroups=

Code Behaviors & Features

Detect and mitigate CVE-2013-1857 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.18, all versions starting from 2.4.0 before 3.1.12, all versions starting from 3.2.0 before 3.2.13

Fixed versions

  • 2.3.18
  • 3.1.12
  • 3.2.13

Solution

Upgrade, patches and workarounds available (see source)

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

gem/actionpack/CVE-2013-1857.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.