← Back to CVE Explorer

CVE-2026-121632

Full vulnerability record from the local CVENow database.

Description

Data::MuForm versions through 0.05 for Perl render attribute values and option labels into HTML without escaping. process_attrs writes each attribute value into the markup as is. The select, radio group and checkbox group renderers pass each option to it, so an option's value becomes an unescaped attribute. Option and option group labels are also unescaped, the group label inside a label attribute and the others in element content. Any application whose option list is built from data rather than literals, using an options_<field_name> method, a build_options method or a DBIC model, allows attacker-influenced text in an option value or label that can embed JavaScript in rendered pages. Attribute values built from data, such as through element_attr, are affected the same way.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
9b29abf9-4ab0-4765-b253-1875cd9b441e
Published
2026-11-04 15:17:42.130000
Last modified
2026-11-04 15:17:42.130000
View original CVE JSON
{
  "id": "CVE-2026-121632",
  "sourceIdentifier": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
  "published": "2026-11-04T15:17:42.130",
  "lastModified": "2026-11-04T15:17:42.130",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Data::MuForm versions through 0.05 for Perl render attribute values and option labels into HTML without escaping.\n\nprocess_attrs writes each attribute value into the markup as is. The select, radio group and checkbox group renderers pass each option to it, so an option's value becomes an unescaped attribute. Option and option group labels are also unescaped, the group label inside a label attribute and the others in element content.\n\nAny application whose option list is built from data rather than literals, using an options_<field_name> method, a build_options method or a DBIC model, allows attacker-influenced text in an option value or label that can embed JavaScript in rendered pages. Attribute values built from data, such as through element_attr, are affected the same way."
    }
  ],
  "affected": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "collectionURL": "https://cpan.org/modules",
          "packageName": "Data-MuForm",
          "modules": [
            "Data::MuForm"
          ],
          "programFiles": [
            "lib/Data/MuForm/Renderer/Base.pm"
          ],
          "programRoutines": [
            {
              "name": "Data::MuForm::Renderer::Base::process_attrs"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_select"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_select_option"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_radio_option"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_radio_label"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_checkbox_option"
            },
            {
              "name": "Data::MuForm::Renderer::Base::render_checkbox_label"
            }
          ],
          "repo": "https://github.com/gshank/data-muform",
          "packageURL": "pkg:cpan/Data-MuForm",
          "versions": [
            {
              "version": "0",
              "lessThanOrEqual": "0.05",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "weaknesses": [
    {
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/gshank/data-muform/pull/18",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
    },
    {
      "url": "https://metacpan.org/release/GSHANK/Data-MuForm-0.05/source/lib/Data/MuForm/Renderer/Base.pm#L202-228",
      "source": "9b29abf9-4ab0-4765-b253-1875cd9b441e"
    }
  ]
}