{"cve":"CVE-2026-33168","nvd":{"published":"2026-03-23T23:17:12.873","modified":"2026-06-17T10:37:04.130","status":"Deferred","description":"Action View provides conventions and helpers for building web pages with the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when a blank string is used as an HTML attribute name in Action View tag helpers, the attribute escaping is bypassed, producing malformed HTML. A carefully crafted attribute value could then be misinterpreted by the browser as a separate attribute name, possibly leading to XSS. Applications that allow users to specify custom HTML attributes are affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":2.3},"cvss_v3":null,"cwes":["CWE-79"],"references":["https://github.com/rails/rails/commit/0b6f8002b52b9c606fd6be9e7915d9f944cf539c","https://github.com/rails/rails/commit/63f5ad83edaa0b976f82d46988d745426aa4a42d","https://github.com/rails/rails/commit/c79a07df1e88738df8f68cb0ee759ad6128ca924","https://github.com/rails/rails/releases/tag/v7.2.3.1","https://github.com/rails/rails/releases/tag/v8.0.4.1"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2026-33168","score":0.00678,"percentile":0.52323,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-v55j-83pf-r9cq","url":"https://osv.dev/vulnerability/GHSA-v55j-83pf-r9cq","summary":"Rails has a possible XSS vulnerability in its Action View tag helpers","modified":"2026-09-10T03:50:41.092699456Z","packages":[{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[">=8.1.0.beta1 <8.1.2.1"],"fixed":["8.1.2.1"]},{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":[">=8.0.0.beta1 <8.0.4.1"],"fixed":["8.0.4.1"]},{"ecosystem":"RubyGems","name":"actionview","purl":"pkg:gem/actionview","ranges":["<7.2.3.1"],"fixed":["7.2.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}