---
id: CVE-2026-47278
title: 'Frappe: Comment Spoofing via add_comment'
summary: >-
  Frappe is a full-stack web application framework. Prior to 15.108.0 and
  16.18.3, the add_comment handler in
  frappe/templates/includes/comments/comments.py trusts the client-provided
  comment_by and comment_email fields. A caller can submi…
severity: medium
cvss: 6.9
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'
cvssSource: cna
cwe:
  - CWE-345
vendor: frappe
product: frappe
affected:
  - frappe < 15.108.0
  - 'frappe >= 16.0.0, < 16.18.3'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-19T18:43:03.460792Z'
published: '2026-11-19'
updated: '2026-11-19'
sourceUpdated: '2026-11-19T18:43:20.567Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-47278'
references:
  - url: 'https://github.com/frappe/frappe/security/advisories/GHSA-89m3-vggh-725v'
    label: 'https://github.com/frappe/frappe/security/advisories/GHSA-89m3-vggh-725v'
  - url: 'https://github.com/frappe/frappe/pull/39373'
    label: 'https://github.com/frappe/frappe/pull/39373'
  - url: 'https://github.com/frappe/frappe/pull/39379'
    label: 'https://github.com/frappe/frappe/pull/39379'
  - url: 'https://github.com/frappe/frappe/pull/39380'
    label: 'https://github.com/frappe/frappe/pull/39380'
  - url: >-
      https://github.com/frappe/frappe/commit/2d930e2d3747012cc8a8c8fbdccaf8c2c5070391
    label: >-
      https://github.com/frappe/frappe/commit/2d930e2d3747012cc8a8c8fbdccaf8c2c5070391
  - url: >-
      https://github.com/frappe/frappe/commit/7bcbf72f283fc68d9abe783fcc2219386f14e9ef
    label: >-
      https://github.com/frappe/frappe/commit/7bcbf72f283fc68d9abe783fcc2219386f14e9ef
  - url: >-
      https://github.com/frappe/frappe/commit/c1cc4cc4ef3ac2151fff330edd32aa96c13d4118
    label: >-
      https://github.com/frappe/frappe/commit/c1cc4cc4ef3ac2151fff330edd32aa96c13d4118
  - url: 'https://github.com/frappe/frappe/releases/tag/v15.108.0'
    label: 'https://github.com/frappe/frappe/releases/tag/v15.108.0'
  - url: 'https://github.com/frappe/frappe/releases/tag/v16.18.3'
    label: 'https://github.com/frappe/frappe/releases/tag/v16.18.3'
tags:
  - cve.org
ingestedAt: '2026-11-19T16:55:41.922Z'
epss: 0.00282
epssPercentile: 0.20801
---

## Overview

Frappe is a full-stack web application framework. Prior to 15.108.0 and 16.18.3, the add_comment handler in frappe/templates/includes/comments/comments.py trusts the client-provided comment_by and comment_email fields. A caller can submit chosen identity metadata that is stored with a comment, causing the comment to appear to originate from another name or email address. This issue is fixed in versions 15.108.0 and 16.18.3.

## Affected

- `frappe < 15.108.0`
- `frappe >= 16.0.0, < 16.18.3`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
