{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.8.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "227d522eada11e426faad473705e69b4c16f144c"
            }
          ],
          "repo": "https://github.com/yangzongzhuan/ruoyi",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1. It has been rated as problematic. This issue affects some unknown processing of the file /swagger-ui/index.html of the component Swagger UI. The manipulation of the argument configUrl leads to cross site scripting. The attack may be initiated remotely.",
  "id": "CVE-2025-7901",
  "modified": "2026-03-11T21:46:30.477127678Z",
  "published": "2025-07-20T16:15:24.560Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?id.317015"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/?submit.618353"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/yangzongzhuan/RuoYi/issues/293"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/?ctiid.317015"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}