Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-55342

A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-55342
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:38 UTC · Revision 1

Source evidence

CVE-2024-55342

core-osv · Original source

Published 20 Dec 2024, 00:00 UTC

A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.

osv:CVE-2024-55342
Complete source record
{
  "id": "8254e9d60e968a22fc65249a1312a217b75bdca26d68b62431594f0b27f3a66f",
  "url": "https://osv.dev/vulnerability/CVE-2024-55342",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-55342",
    "summary": "A file upload functionality in Piranha CMS 11.1 allows authenticated remote attackers to upload a crafted PDF file to /manager/media. This PDF can contain malicious JavaScript code, which is executed when a victim user opens or interacts with the PDF in their web browser, leading to a XSS vulnerability.",
    "evidence": "osv:CVE-2024-55342",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-55342",
      "aliases": [
        "CVE-2024-55342",
        "GHSA-cmwp-442x-3rcv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/piranhacms/piranha.core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "40ff9c751fd5e5cbc472732284a8252d50ce129a"
                },
                {
                  "last_affected": "40ff9c751fd5e5cbc472732284a8252d50ce129a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dotnetfoundation:piranha_cms:11.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.1"
                      },
                      {
                        "last_affected": "11.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "11.1",
            "v11.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55342.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.191397735Z",
      "provider": "osv",
      "references": [
        "https://sec-fortress.github.io/posts/articles/posts/CVE-2024-55342.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55342.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-55342",
        "https://github.com/PiranhaCMS/piranha.core"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55342.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-55342",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492779,
  "published_at": "2024-12-20T00:00:00+00:00"
}