Description
Forem is open source software for building communities. In versions before commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c, a malicious value submitted through feedback_message[message] is stored without sanitization and rendered in app/views/admin/feedback_messages/_feedback_message.html.erb through raw(feedback_message.message) when offender_id 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 offender_id, making the vulnerable rendering path reachable by an unauthenticated attacker. This issue is fixed in commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c
Published: 2026-08-18
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Forem versions before commit 92eacd16a allow a malicious string submitted through feedback_message[message] to be stored without sanitization and later rendered unescaped with raw(feedback_message.message). When an administrator opens the abuse report, the browser executes the injected JavaScript. This can expose sensitive page data, steal CSRF tokens, or trigger administrative actions within the victim’s session.

Affected Systems

All Forem community software releases prior to commit 92eacd16a are affected, including the mainstream Forem platform. The vulnerability is reachable because the public FeedbackMessagesController accepts abuse reports from unauthenticated users and permits an offender_id, which enables a crafted report to be stored and later rendered in the admin interface.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate severity. EPSS data is not available, and the issue is not listed in CISA’s KEV catalog, implying no known widespread exploitation. However, the attack requires only that an attacker can submit a feedback report—an unauthenticated action—and that an administrator subsequently views the report. In that scenario the stored script runs in the admin’s browser, which can compromise confidentiality, integrity, and availability of administrative capabilities. The potential impact is considerable for compromised administrators, making the risk high in environments where admins frequently access abuse reports.

Generated by OpenCVE AI on August 18, 2026 at 20:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the Forem update containing commit 92eacd16a or later to remove the raw rendering of feedback messages.
  • If an immediate update is not possible, limit or disable the public FeedbackMessagesController so that only authenticated administrators can submit abuse reports as a temporary safeguard.
  • Modify the app/views/admin/feedback_messages/_feedback_message.html.erb template to escape or sanitize feedback_message.message instead of rendering it with raw().

Generated by OpenCVE AI on August 18, 2026 at 20:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Forem
Forem forem
Vendors & Products Forem
Forem forem

Tue, 18 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 18 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Forem is open source software for building communities. In versions before commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c, a malicious value submitted through feedback_message[message] is stored without sanitization and rendered in app/views/admin/feedback_messages/_feedback_message.html.erb through raw(feedback_message.message) when offender_id 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 offender_id, making the vulnerable rendering path reachable by an unauthenticated attacker. This issue is fixed in commit 92eacd16a82cf9007ba8e16a2258b42e3b53ca9c
Title Forem: Stored XSS in Admin Abuse Report Rendering
Weaknesses CWE-116
CWE-74
CWE-79
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-18T18:15:34.952Z

Reserved: 2026-07-10T18:36:58.851Z

Link: CVE-2026-61696

cve-icon Vulnrichment

Updated: 2026-08-18T18:15:31.332Z

cve-icon NVD

Status : Received

Published: 2026-08-18T18:18:52.497

Modified: 2026-08-18T19:16:59.353

Link: CVE-2026-61696

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T20:00:04Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')