Skip to content

Commit 8855280

Browse files
authored
Merge pull request #1174 from jasnow/july-10a-advs
One new advisory, 1 refs to spina and zlib advisories and lots of ignore notes @simi - Thanks for reviewing and approving my PR.
2 parents f8469a1 + d0fcf65 commit 8855280

4 files changed

Lines changed: 96 additions & 1 deletion

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
gem: action_text-trix
3+
ghsa: 53g2-mvcc-q9x3
4+
url: https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3
5+
title: Stored XSS via HTMLParser attribute injection on paste
6+
date: 2026-03-26
7+
description: |
8+
## Impact
9+
10+
The Trix editor, in versions prior to 2.1.18, is vulnerable to XSS
11+
when crafted HTML is pasted into the editor. The HTMLParser processed
12+
a mock attachment, a <span> carrying an empty data-trix-attachment="{}".
13+
The empty attachment object caused the element to bypass attachment
14+
handling, so its data-trix-attributes were applied to a plain string
15+
piece. The pre-2.1.18 StringPiece.fromJSON accepted the href without
16+
validation, so an attacker-supplied javascript: URI was carried into
17+
the document model and emitted verbatim into the serialized HTML,
18+
executing when the content was rendered and clicked.
19+
20+
This is a stored XSS in any application that accepts untrusted rich
21+
text through Trix and renders the serialized output to other users.
22+
Applications that apply server-side HTML sanitization, such as the
23+
Rails built-in sanitizer, are additionally protected because the
24+
payload is neutralized on save.
25+
26+
This vulnerability shares its fix with GHSA-53p3-c7vp-4mcc.
27+
Both are resolved by the StringPiece.fromJSON sanitization added
28+
in 2.1.18. This advisory covers the paste and HTMLParser entry
29+
vector, while GHSA-53p3-c7vp-4mcc covers the drag-and-drop path
30+
through the fallback Level0InputController.
31+
32+
## References
33+
34+
The vulnerability was responsibly reported by HackerOne
35+
researcher newbiefromcoma.
36+
cvss_v3: 4.6
37+
patched_versions:
38+
- ">= 2.1.18"
39+
related:
40+
url:
41+
- https://rubygems.org/gems/action_text-trix/versions/2.1.18
42+
- https://github.com/basecamp/trix/releases/tag/v2.1.18
43+
- https://github.com/basecamp/trix/pull/1293
44+
- https://github.com/advisories/GHSA-53p3-c7vp-4mcc
45+
- https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3
46+
notes: |
47+
- No CVE.
48+
- cvss_v3 from GHSA
49+
- date from gem releases page
50+
- Unnknown HackerOne number

gems/spina/CVE-2015-4619.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ patched_versions:
1414
- ">= 0.6.29"
1515
related:
1616
url:
17+
- https://nvd.nist.gov/vuln/detail/CVE-2015-4619
18+
- https://github.com/denkGroot/Spina/commit/bfe44f289e336f80b6593032679300c493735e75
1719
- https://sca.analysiscenter.veracode.com/vulnerability-database/security/cross-site-request-forgery-csrf/ruby/sid-1686/summary
1820
- https://github.com/rubysec/ruby-advisory-db/issues/238

gems/zlib/CVE-2026-27820.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
gem: zlib
33
cve: 2026-27820
44
ghsa: g857-hhfv-j68w
5-
url: https://www.ruby-lang.org/en/news/2026/03/05/buffer-overflow-zlib-cve-2026-27820
5+
url: https://nvd.nist.gov/vuln/detail/CVE-2026-27820
66
title: Buffer overflow vulnerability in Zlib::GzipReader
77
date: 2026-03-05
88
description: |
@@ -50,3 +50,4 @@ related:
5050
- https://rubygems.org/gems/zlib/versions/3.2.3
5151
- https://rubygems.org/gems/zlib/versions/3.1.2
5252
- https://rubygems.org/gems/zlib/versions/3.0.1
53+
- https://github.com/ruby/zlib/security/advisories/GHSA-g857-hhfv-j68w

lib/rad-ignores.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,48 @@ rm -f gems/webrick/CVE-2026-38969.yml
8888
# https://github.com/github/cmark-gfm/security/advisories/GHSA-cgh3-p57x-9q7q
8989
# are not a Ruby gems, no Ruby code.
9090

91+
# https://github.com/joniles/mpxj/security/advisories/GHSA-jf2p-4gqj-849g
92+
# does not involve Ruby code.
93+
94+
# https://github.com/devise-two-factor/devise-two-factor/security/advisories/GHSA-chcr-x7hc-8fp8
95+
# https://github.com/advisories/GHSA-chcr-x7hc-8fp8
96+
# was never patched and withdrawn on 3/19/2026.
97+
98+
# CVE-2024-43368: https://github.com/basecamp/trix/security/advisories/GHSA-qm2q-9f3q-2vcv
99+
# CVE-2025-46812: https://github.com/basecamp/trix/security/advisories/GHSA-mcrw-746g-9q8h
100+
# CVE-2024-53847: https://github.com/basecamp/trix/security/advisories/GHSA-6vx4-v2jw-qwqh
101+
# CVE-2025-21610: https://github.com/basecamp/trix/security/advisories/GHSA-j386-3444-qgwg
102+
# all 4 are NPM related, not Ruby.
103+
104+
######################################################################
105+
# PasswordPusher SUMMARY: Yes, Ruby Fixed, none are gems.
106+
#.....................................................................
107+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-59w3-h5v2-c4xw
108+
# - https://github.com/pglombardo/PasswordPusher/releases/tag/v2.9.2
109+
# - https://rubygems.org/gems/pwpush (https://eu.pwpush.com - 2016)
110+
# Release 2.9.2; pglombardo/PasswordPusher; RUBY code; Bash Poc; Ruby fix; No CVE
111+
#...
112+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-76c2-66pg-fj2f
113+
# - https://github.com/pglombardo/PasswordPusher/releases/tag/v2.8.1
114+
# Release 2.8.1; pglombardo/PasswordPusher; RUBY code; Bash Poc; Ruby fix; No CVE
115+
#...
116+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-qfh8-f79c-x86c
117+
# - https://github.com/pglombardo/PasswordPusher/pull/4381
118+
# - https://github.com/pglombardo/PasswordPusher/releases/tag/v2.4.2
119+
# Release 2:4.2 - Ruby rb code; Unreviewed GHSA
120+
#...
121+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-4fwj-m62q-pp47
122+
# Never patched; CVE-2024-56733; Password Pusher; No project references
123+
#...
124+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-ffp2-8p2h-4m5j
125+
# - https://github.com/pglombardo/PasswordPusher/releases/tag/v1.49.0
126+
# - https://github.com/pglombardo/PasswordPusher/pull/2797
127+
# Release 1.49.0; Password Pusher Application; yml and ruby fixes
128+
#...
129+
# https://github.com/pglombardo/PasswordPusher/security/advisories/GHSA-5chg-cq29-gfqf
130+
# - https://github.com/pglombardo/PasswordPusher/releases/tag/v1.48.1
131+
# Release 1.48.1; Password Pusher Application; erb file code fix
132+
91133
exit
92134

93135
# AL>> QUESTION (ruby or jruby)?

0 commit comments

Comments
 (0)