0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/poll/spec
discoursebot 561c4e746c
SECURITY: Uncontrolled Resource Consumption in Number Poll Generation [backport 2026.1] (#41151)
Backport of #41141 to release/2026.1.

---

## Summary

The markdown engine generates poll options in an unbounded loop based on
user input, enabling an attacker to trigger massive memory allocation
and CPU usage in the V8 process. This blocks a global mutex and can
cause worker crashes, effectively DoS-ing markdown processing for all
users.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1120
- HackerOne report: https://hackerone.com/reports/3598542

---

🤖 Auto-generated from the patch diff via Patch Triage. Review carefully
before merging.

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>

Co-authored-by: Sam <sam.saffron@gmail.com>
Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-06-24 15:53:17 +10:00
..
controllers SECURITY: Fix poll post_id array authorization bypass 2026-03-19 15:46:24 +00:00
fabricators FEATURE: Add Ranked Choice Voting 2024-07-17 11:49:14 +02:00
integration SECURITY: Check topic visibility before allowing poll interactions [backport 2026.1] 2026-03-31 15:12:50 +01:00
jobs/regular DEV: Remove unnecessary rails_helper requiring (#26364) 2024-03-26 11:32:01 +01:00
lib SECURITY: Uncontrolled Resource Consumption in Number Poll Generation [backport 2026.1] (#41151) 2026-06-24 15:53:17 +10:00
models DEV: Clean up scope resolution operators in plugins (#34979) 2025-09-30 14:36:34 +02:00
requests DEV: Update rubocop-discourse (#30552) 2025-01-04 13:48:21 +01:00
serializers DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
system FIX: poll plugin breaking when local-dates plugin is disabled (#36889) 2025-12-29 16:29:43 +01:00