{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-66829","id":"CVE-2026-66829","title":"html_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cross-origin redirection","description":"URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to force visitors of a page to navigate to a site of the attacker's choosing via a <meta http-equiv=\"refresh\"> element in sanitized HTML. HtmlSanitizeEx.html5/1 keeps attacker-supplied <meta> elements in its output. A meta element acts on the whole document ra","descriptionLong":"URL Redirection to Untrusted Site ('Open Redirect') vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to force visitors of a page to navigate to a site of the attacker's choosing via a <meta http-equiv=\"refresh\"> element in sanitized HTML. HtmlSanitizeEx.html5/1 keeps attacker-supplied <meta> elements in its output. A meta element acts on the whole document rather than on the fragment it was embedded in, so it can also declare document-wide directives such as Content-Security-Policy.\n\nThis is not cross-site scripting. Browsers do not navigate a meta refresh to a javascript: URL, so the uppercase JAVASCRIPT: filter bypass yields no script execution and none was demonstrated.\n\nThis issue affects html_sanitize_ex: from 0.3.1 before 1.4.5 and from 1.5.0-rc.0 before 1.5.3.","published":"2026-08-06T14:49:23.468Z","updated":"2026-11-19T10:00:22.437768317Z","reserved":"2026-08-06T08:15:02.719Z","status":"Modified","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"low","source":"EEF"},"metrics":[{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"low","source":"EEF"},{"version":"4.0","score":2.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"low","products":["rrrene html_sanitize_ex"],"affectedProducts":[{"vendor":"rrrene","product":"html_sanitize_ex","defaultStatus":"unaffected","versions":[{"lessThan":"1.4.5","status":"affected","version":"0.3.1","versionType":"semver"},{"lessThan":"1.5.3","status":"affected","version":"1.5.0-rc.0","versionType":"semver"}],"platforms":[]},{"vendor":"rrrene","product":"html_sanitize_ex","defaultStatus":"unaffected","versions":[{"changes":[{"at":"9f7e38be51edc38f132dfe994f37af5cf5e0e76f","status":"unaffected"},{"at":"29454dc99513fd9b5b6429ab7b6695ad09889227","status":"unaffected"}],"lessThan":"*","status":"affected","version":"8976d64ea0b77d26093a94a43ec48a3978e8d028","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-601"],"aliases":["EEF-CVE-2026-66829","GHSA-2c6f-3j54-xpcr"],"references":[{"url":"https://github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-2c6f-3j54-xpcr","tags":["vendor-advisory","related","Broken Link","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-66829.html","tags":["related","Patch","Third Party Advisory","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-66829","tags":["related","Patch","Third Party Advisory","web"]},{"url":"https://github.com/rrrene/html_sanitize_ex/commit/8976d64ea0b77d26093a94a43ec48a3978e8d028","tags":["related","fix"]},{"url":"https://github.com/rrrene/html_sanitize_ex/commit/9f7e38be51edc38f132dfe994f37af5cf5e0e76f","tags":["patch","Patch","fix"]},{"url":"https://github.com/rrrene/html_sanitize_ex/commit/29454dc99513fd9b5b6429ab7b6695ad09889227","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66829.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66829","tags":["advisory"]},{"url":"https://github.com/rrrene/html_sanitize_ex","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.01025,"epssPercentile":0.6428,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-66829","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66829","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-66829","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-66829","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}