Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-15169

In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the `t` and `translate` helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-15169
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:52 UTC · Revision 1

Source evidence

CVE-2020-15169

core-osv · Original source

Published 11 Sept 2020, 16:15 UTC

In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the `t` and `translate` helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.

osv:CVE-2020-15169
Complete source record
{
  "id": "54bd75451722d156acae12170dd422ddcadcd3394ec044524e460a20f047dfa5",
  "url": "https://osv.dev/vulnerability/CVE-2020-15169",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-15169",
    "summary": "In Action View before versions 5.2.4.4 and 6.0.3.3 there is a potential Cross-Site Scripting (XSS) vulnerability in Action View's translation helpers. Views that allow the user to control the default (not found) value of the `t` and `translate` helpers could be susceptible to XSS attacks. When an HTML-unsafe string is passed as the default for a missing translation key named html or ending in _html, the default string is incorrectly marked as HTML-safe and not escaped. This is patched in versions 6.0.3.3 and 5.2.4.4. A workaround without upgrading is proposed in the source advisory.",
    "evidence": "osv:CVE-2020-15169",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-15169",
      "aliases": [
        "CVE-2020-15169",
        "GHSA-cfjv-5498-mph5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rails/rails",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "404ad9e8acf8ab45ae2314050131a00e57e63b40"
                },
                {
                  "fixed": "070d4afacd3e9721b7e3a4634e4d026b5fa2c32c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:action_view_project:action_view:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.2.4.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:action_view_project:action_view:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "6.0.0.0"
                      },
                      {
                        "fixed": "6.0.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.2.4.3",
            "v6.0.3.2",
            "v6.0.3.1",
            "v6.0.3",
            "v5.2.4.2",
            "v6.0.3.rc1",
            "v5.2.4.1",
            "v5.2.4",
            "v5.2.4.rc1",
            "v6.0.0",
            "v6.0.0.rc1",
            "v6.0.0.beta2",
            "v6.0.0.beta1",
            "v5.2.1.rc1",
            "v5.2.0.rc1",
            "v5.1.0.beta1",
            "v5.0.0.beta4",
            "v5.0.0.beta2",
            "v5.0.0.beta1",
            "v4.2.0.beta1",
            "v4.0.0.rc1",
            "v4.0.0.beta1",
            "v3.2.0.rc1",
            "v3.1.0.rc1",
            "v3.1.0.beta1",
            "v3.0.0.beta3",
            "v3.0.0.beta.3",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0_RC2",
            "v2.0.0_RC1",
            "v2.0.0_PR",
            "v1.1.1",
            "v1.1.0",
            "v1.1.0_RC1",
            "v0.14.3",
            "v0.14.1",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.5",
            "v0.9.4.1",
            "v0.9.4",
            "v0.9.3",
            "v0.9.2",
            "v0.9.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-15169.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:52.686359784Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJ7NUWXAEVRQCROIIBV4C6WXO6IR3KSB/",
        "https://lists.debian.org/debian-lts-announce/2020/10/msg00015.html",
        "https://www.debian.org/security/2020/dsa-4766",
        "https://github.com/rails/rails/security/advisories/GHSA-cfjv-5498-mph5"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "vendor_product": "fedoraproject:fedora",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "33"
                  },
                  {
                    "last_affected": "33"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2020-15169",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383068,
  "published_at": "2020-09-11T16:15:12.287+00:00"
}