{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-1099.json"
      }
    ],
    "title": "rubygem-actionpack: XSS in the 'select' helper",
    "tracking": {
      "current_release_date": "2026-01-28T22:52:20+00:00",
      "generator": {
        "date": "2026-01-28T22:52:20+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.16"
        }
      },
      "id": "CVE-2012-1099",
      "initial_release_date": "2012-03-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2012-03-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-11T01:06:32+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-01-28T22:52:20+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Subscription Asset Manager",
                "product": {
                  "name": "Red Hat Subscription Asset Manager",
                  "product_id": "red_hat_subscription_asset_manager",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:rhel_sam:1"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Subscription Asset Manager"
          },
          {
            "category": "product_version",
            "name": "rubygem-actionpack.src",
            "product": {
              "name": "rubygem-actionpack.src",
              "product_id": "rubygem-actionpack.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/rubygem-actionpack?arch=src"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rubygem-actionpack.src as a component of Red Hat Subscription Asset Manager",
          "product_id": "red_hat_subscription_asset_manager:rubygem-actionpack.src"
        },
        "product_reference": "rubygem-actionpack.src",
        "relates_to_product_reference": "red_hat_subscription_asset_manager"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2012-1099",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
      },
      "discovery_date": "2012-03-02T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "799276"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving certain generation of OPTION elements within SELECT elements.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "rubygem-actionpack: XSS in the 'select' helper",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_subscription_asset_manager:rubygem-actionpack.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2012-1099"
        },
        {
          "category": "external",
          "summary": "RHBZ#799276",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=799276"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2012-1099",
          "url": "https://www.cve.org/CVERecord?id=CVE-2012-1099"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2012-1099",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-1099"
        }
      ],
      "release_date": "2012-03-01T00:00:00+00:00",
      "remediations": [
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_subscription_asset_manager:rubygem-actionpack.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "products": [
            "red_hat_subscription_asset_manager:rubygem-actionpack.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_subscription_asset_manager:rubygem-actionpack.src"
          ]
        }
      ],
      "title": "rubygem-actionpack: XSS in the 'select' helper"
    }
  ]
}