← Back to CVE Explorer

CVE-2025-12544

Full vulnerability record from the local CVENow database.

Description

The Publisher portal fails to enforce proper validation on uploaded SVG files, allowing users with the Publisher role to inject malicious scripts. This weakness can be exploited by uploading a crafted SVG file, which is then stored and rendered by the application. The security consequences include the ability for a malicious actor to redirect the victim's browser to an arbitrary website, modify the web page's UI, or retrieve information from the browser. However, the impact is mitigated as session-related sensitive cookies are protected with the httpOnly flag, preventing session hijacking.

Severity
MEDIUM
CVSS score
4.8 (v3.1)
Vulnerability status
Received
Source identifier
ed10eef1-636d-4fbe-9993-6890dfa878f8
Published
2026-11-02 11:17:30.477000
Last modified
2026-11-02 11:17:30.477000
View original CVE JSON
{
  "id": "CVE-2025-12544",
  "sourceIdentifier": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
  "published": "2026-11-02T11:17:30.477",
  "lastModified": "2026-11-02T11:17:30.477",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "The Publisher portal fails to enforce proper validation on uploaded SVG files, allowing users with the Publisher role to inject malicious scripts. This weakness can be exploited by uploading a crafted SVG file, which is then stored and rendered by the application.\n\nThe security consequences include the ability for a malicious actor to redirect the victim's browser to an arbitrary website, modify the web page's UI, or retrieve information from the browser. However, the impact is mitigated as session-related sensitive cookies are protected with the httpOnly flag, preventing session hijacking."
    }
  ],
  "affected": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "affectedData": [
        {
          "vendor": "WSO2",
          "product": "WSO2 API Manager",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "3.2.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "3.2.0",
              "lessThan": "3.2.0.449",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "3.2.1",
              "lessThan": "3.2.1.68",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.0.0",
              "lessThan": "4.0.0.368",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.1.0",
              "lessThan": "4.1.0.60",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.2.0",
              "lessThan": "4.2.0.7",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Carbon API Manager Publisher REST API",
          "defaultStatus": "unaffected",
          "packageName": "org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1",
          "versions": [
            {
              "version": "0",
              "lessThan": "9.28.140",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N",
          "baseScore": 4.8,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "HIGH",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 1.7,
        "impactScore": 2.7
      }
    ]
  },
  "weaknesses": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4500/",
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8"
    }
  ]
}