Skip to content

Commit 71abcf4

Browse files
jasnowRubySec CI
authored andcommitted
Updated advisory posts against rubysec/ruby-advisory-db@8855280
1 parent 83faef4 commit 71abcf4

3 files changed

Lines changed: 62 additions & 1 deletion

File tree

advisories/_posts/2015-06-16-CVE-2015-4619.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ advisory:
2121
- ">= 0.6.29"
2222
related:
2323
url:
24+
- https://nvd.nist.gov/vuln/detail/CVE-2015-4619
25+
- https://github.com/denkGroot/Spina/commit/bfe44f289e336f80b6593032679300c493735e75
2426
- https://sca.analysiscenter.veracode.com/vulnerability-database/security/cross-site-request-forgery-csrf/ruby/sid-1686/summary
2527
- https://github.com/rubysec/ruby-advisory-db/issues/238
2628
---

advisories/_posts/2026-03-05-CVE-2026-27820.md

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

0 commit comments

Comments
 (0)