CVE Explorer
CVE-2026-33170
Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"activesupport","vendor":"rails","versions":[{"status":"affected","version":">= 8.1.0.beta1, < 8.1.2.1"},{"status":"affected","version":">= 8.0.0.beta1, < 8.0.4.1"},{"status":"affected","version":"< 7.2.3.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":5.3,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/problemTypes/0/descriptions/0
Source references
7 source assertions{"name":"https://github.com/rails/rails/commit/50d732af3b7c8aaf63cbcca0becbc00279b215b7","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/commit/50d732af3b7c8aaf63cbcca0becbc00279b215b7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/1
{"name":"https://github.com/rails/rails/commit/6e8a81108001d58043de9e54a06fca58962fc2db","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/commit/6e8a81108001d58043de9e54a06fca58962fc2db"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/2
{"name":"https://github.com/rails/rails/commit/c1ad0e8e1972032f3395853a5e99cea035035beb","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/commit/c1ad0e8e1972032f3395853a5e99cea035035beb"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/3
{"name":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/4
{"name":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/5
{"name":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/6
{"name":"https://github.com/rails/rails/security/advisories/GHSA-89vf-4333-qx8v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rails/rails/security/advisories/GHSA-89vf-4333-qx8v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e0b8a98d70eb8abf7cb7642c4b0daa788885e785aea12362db6c2b3526b62dbb · sha256:f768e49e9dccd5c5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.