rails — security advisory
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
- rails
- Affected versions
- Not specified
- Fixed versions
- 2:6.0.3.3+dfsg-1
- CVEs
- CVE-2020-15169
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 12:33 UTC · Revision 1
Source evidence
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:DEBIAN-CVE-2020-15169
rails
Fixed versions: 2:6.0.3.3+dfsg-1
rails
Fixed versions: 2:6.0.3.3+dfsg-1
rails
Fixed versions: 2:6.0.3.3+dfsg-1
Complete source record
{
"id": "88f408fd0202f3a1e4a0324262ca0523a9ade8cf6cb4fc849b422f0c8a63964d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-15169",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2020-15169",
"products": [
{
"name": {
"value": "rails",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:6.0.3.3+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rails",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:6.0.3.3+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "rails",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:6.0.3.3+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-15169",
"aliases": [
"DEBIAN-CVE-2020-15169"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.0.3.3+dfsg-1"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15169.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.0.3.3+dfsg-1"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15169.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:6.0.3.3+dfsg-1"
}
]
}
],
"package": {
"name": "rails",
"purl": "pkg:deb/debian/rails?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-15169.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:00:25.023351659Z",
"provider": "osv",
"upstream": [
"CVE-2020-15169"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-15169"
]
},
"related_cves": [
{
"value": "CVE-2020-15169",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451116,
"published_at": "2020-09-11T16:15:12.287+00:00"
}