CVE-2026-61696: Forem: Stored XSS in Admin Abuse Report Rendering

Published Aug 18, 2026
·
Updated

Forem is open source software for building communities. In versions before commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c, a malicious value submitted through feedbackmessage[message] is stored without sanitization and rendered in app/views/admin/feedbackmessages/feedbackmessage.html.erb through raw(feedbackmessage.message) when offenderid is present. Viewing the abuse report executes arbitrary JavaScript in an administrator's browser and may expose sensitive in-page data, abuse CSRF tokens, or perform administrative actions in the victim's session. The public FeedbackMessagesController accepts the report without authorization and previously permitted a submitted offenderid, making the vulnerable rendering path reachable by an unauthenticated attacker. This issue is fixed in commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c

Affected Software

1 affected component
forem forem<92eacd16a82cf9007ba8e16a2258b42e3b53ca9c

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Forem to a version that resolves this vulnerability.

    Patch 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c

Event History

Aug 18, 2026
CVE Published
via MITRE·05:57 PM
Data Sourced
via MITRE·05:57 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue, and who is affected?

Any Forem deployment using code before commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c is exposed if an administrator views a crafted abuse report. The reporting endpoint was public, so an attacker did not need an authenticated account to submit the report.

2

What conditions are required for exploitation?

The attacker must submit a malicious feedback_message[message] value and cause it to be stored with an offender_id so that it reaches the administrator abuse-report rendering path. Exploitation then requires an administrator to view the report; the JavaScript executes in that administrator's browser session.

3

What remediation is available?

Update to the fix in commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c. The provided information does not describe an alternative mitigation for deployments that cannot apply the fix immediately.

4

How can I assess whether the issue may already have been exploited?

Review stored feedback or abuse reports for attacker-controlled content in feedback_message[message], particularly reports with an offender_id, and treat suspicious markup or script-like content as potentially dangerous. Administrators should avoid opening suspicious reports in an affected deployment because rendering them can execute arbitrary JavaScript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203