{"id":"CVE-2026-126070","sourceIdentifier":"security-advisories@github.com","published":"2026-11-10T21:19:25.117","lastModified":"2026-11-12T22:09:39.233","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, strip_tags in Action View returns its sanitized output marked html_safe, but the underlying sanitizer encodes only &, < and >, leaving \" and ' unencoded. Because ERB does not escape a string marked html_safe, untrusted input passed through strip_tags and rendered inside a quoted HTML attribute value could close the attribute and add new attributes, possibly leading to XSS. Applications that render strip_tags output from untrusted input inside an HTML attribute, for example in a title attribute or a <meta content> tag, are affected. Output rendered as element content is not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"rails","product":"rails","versions":[{"version":"< 8.0.5.2","status":"affected"},{"version":">= 8.1, < 8.1.4.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-12T16:26:28.666629Z","id":"CVE-2026-126070","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/rails/rails/commit/568b19cb860322885593e308a7f27aceb779e9d7","source":"security-advisories@github.com"},{"url":"https://github.com/rails/rails/commit/c3772a10f405f9644125cbb484adfd2aa7a25a59","source":"security-advisories@github.com"},{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.2","source":"security-advisories@github.com"},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","source":"security-advisories@github.com"},{"url":"https://github.com/rails/rails/security/advisories/GHSA-rq8q-p985-fjq7","source":"security-advisories@github.com"}]}