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

CVE-2012-3463: Ruby on Rails Potential XSS Vulnerability in select_tag prompt

August 10, 2012 (updated August 8, 2019)

When a value for the prompt field is supplied to the select_tag helper, the value is not escaped. If untrusted data is not escaped, and is supplied as the prompt value, there is a potential for XSS attacks.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2012-3463 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.0.0 before 3.0.17, all versions starting from 3.1.0 before 3.1.8, all versions starting from 3.2.0 before 3.2.8

Fixed versions

  • 3.0.17
  • 3.1.8
  • 3.2.8

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-2012-3463.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:25 +0000.