llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · leantime/leantime

GHSA-WX75-C4FP-Q5PV

HTML Injection in Email Notifications

Parche disponible
Descargar PNG JSON
CVSS 3.1
3.5
Baja
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.4.0
Exposición49 dDesde la divulgación, 2 oct 2026, 10:34 a. m.
Detección47 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Riesgo bajo, café alto.Si todo fuera así, el SOC dormiría ocho horas.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada +1
2 oct 26
19 nov 26
21 nov 26
2 oct 26
15 oct 26
27 oct 26
9 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-WX75-C4FP-Q5PV divulgada · CVSS 3.5 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

Due to a lack of input sanitization, any user with "Editor" permissions or higher on a project can perform HTML injection in email notifications.

Details

User input from setting board/canvas titles is not properly sanitized to entity encode special HTML characters before sending them in email notifications.

The following files are vulnerable:

  • `app/Domain/Canvas/Controllers/BoardDialog.php`
  • `app/Domain/Canvas/Controllers/ShowCanvas.php`
  • `app/Domain/Goalcanvas/Controllers/Dashboard.php`
  • `app/Domain/Goalcanvas/Controllers/ShowCanvas.php`
  • `app/Domain/Ideas/Controllers/AdvancedBoards.php`
  • `app/Domain/Ideas/Controllers/BoardDialog.php`
  • `app/Domain/Ideas/Controllers/ShowBoards.php`

Each of these files contain the same notification logic to send email notifications when a new board/canvas is created.

$values = [
    'title' => $_POST['canvastitle'],
    'author' => session('userdata.id'),
    'projectId' => session('currentProject'),
];
$currentCanvasId = $this->canvasRepo->addCanvas($values);
$allCanvas = $this->canvasRepo->getAllCanvas(session('currentProject'));

$mailer = app()->make(MailerCore::class);
$this->projectService = app()->make(ProjectService::class);
$users = $this->projectService->getUsersToNotify(session('currentProject'));

$mailer->setSubject($this->language->__('notification.board_created'));

$actual_link = CURRENT_URL;
$message = sprintf(
    $this->language->__('email_notifications.canvas_created_message'),
    session('userdata.name'),
    "<a href='".$actual_link."'>".$values['title'].'</a>'
);
$mailer->setHtml($message);

// New queuing messaging system
$queue = app()->make(QueueRepository::class);
$queue->queueMessageToUsers(
    $users,
    $message,
    $this->language->__('notification.board_created'),
    session('currentProject')
);

Since `$values['title']` is not sanitized to entity encode special HTML characters, user input can be interpreted as HTML.

PoC
  1. Create a new project.
  1. Add another user to the project team, ensuring they have "Editor" permissions or higher.
  1. Login as that user and navigate to any of the options under "THINK" on the sidebar menu. If "Blueprints" is chosen, select any of the board/canvas options.

!1 https://github.com/user-attachments/assets/8210d631-cc96-4dcd-b5fe-c2b42ede2b73

  1. Click on the dropdown menu where the board/canvas title is and click "Create New Board".

!2 https://github.com/user-attachments/assets/91d537a3-41ac-461e-b48c-3829da009021

  1. Input `</a><a href="https://example.com">Malicious Link` and click "Create Board".

!3 https://github.com/user-attachments/assets/6c9be9c6-b58e-43aa-b57b-8ffd1285f24b

  1. Wait a minute for notifications to be sent then check the email of the original user who created the project. Notice that a link to `https://example.com` is included under the text "Malicious Link".

!4 https://github.com/user-attachments/assets/fcccd849-7851-4a79-94c0-ab491e35da28

Impact

This vulnerability can be utilized by a malicious attacker to completely change notification email content, allowing users to be redirected to other sites, phished, or be blocked from accessing regular notifications.

Remediation

Use the PHP `htmlentities` function to sanitize user input. All mentioned files can be modified to include it.

$values = [
    'title' => htmlentities($_POST['canvastitle']),
    'author' => session('userdata.id'),
    'projectId' => session('currentProject'),
];

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.8/ 10Medio
Vector 6.8 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
leantime/leantime< 3.4.0
3.4.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistleantime/leantime
Corregida 3.4.0 — —
Versiones corregidas3.4.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/Leantime/leantime/security/advisories/GHSA-wx75-c4fp-q5pv

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.