← Back to CVE Explorer

CVE-2026-52781

Full vulnerability record from the local CVENow database.

Description

OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, the HTML sanitizer grants <macro> elements unrestricted data-* attributes via :data wildcard. An attacker injects data-controller="poll-for-changes" into a work package description, causing Stimulus.js to mount a controller that fetches an attacker-uploaded attachment and passes it to renderStreamMessage(). This executes arbitrary Turbo Stream actions — including redirect_to — in every victim's authenticated browser session, redirecting them to an attacker-controlled server. This vulnerability is fixed in 17.3.3 and 17.4.1.

Severity
MEDIUM
CVSS score
6.4 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-26 20:17:18.613000
Last modified
2026-10-25 17:10:00.197000
View original CVE JSON
{
  "id": "CVE-2026-52781",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-26T20:17:18.613",
  "lastModified": "2026-10-25T17:10:00.197",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, the HTML sanitizer grants <macro> elements unrestricted data-* attributes via :data wildcard. An attacker injects data-controller=\"poll-for-changes\" into a work package description, causing Stimulus.js to mount a controller that fetches an attacker-uploaded attachment and passes it to renderStreamMessage(). This executes arbitrary Turbo Stream actions — including redirect_to — in every victim's authenticated browser session, redirecting them to an attacker-controlled server. This vulnerability is fixed in 17.3.3 and 17.4.1."
    },
    {
      "lang": "es",
      "value": "OpenProject es un software de gestión de proyectos de código abierto y basado en la web. Antes de las versiones 17.3.3 y 17.4.1, el saneador de HTML concede a los elementos [macro] atributos data-* sin restricciones a través del comodín :data. Un atacante inyecta data-controller=’poll-for-changes’ en la descripción de un paquete de trabajo, lo que provoca que Stimulus.js monte un controlador que recupera un archivo adjunto subido por el atacante y lo pasa a renderStreamMessage(). Esto ejecuta acciones arbitrarias de Turbo Stream -incluyendo redirect_to- en la sesión de navegador autenticada de cada víctima, redirigiéndolas a un servidor controlado por el atacante. Esta vulnerabilidad se corrige en las versiones 17.3.3 y 17.4.1."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "opf",
          "product": "openproject",
          "versions": [
            {
              "version": "< 17.3.3",
              "status": "affected"
            },
            {
              "version": ">= 17.4.0, < 17.4.1",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
          "baseScore": 6.4,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.1,
        "impactScore": 2.7
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-29T13:24:36.959287Z",
          "id": "CVE-2026-52781",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/opf/openproject/security/advisories/GHSA-q33w-f822-hg8x",
      "source": "[email protected]"
    }
  ]
}