Skip to content
Heist/ feed
Back to feed
Medium

liyupi yu-picture MyBatis-Plus PictureServiceImpl.java PageRequest sql injection

Type: advisorySources: OSV

A vulnerability was determined in liyupi yu-picture up to a053632c41340152bf75b66b3c543d129123d8ec. This impacts the function PageRequest of the file yu-picture-backend/src/main/java/com/yupi/yupicturebackend/service/impl/PictureServiceImpl.java of the component MyBatis-Plus. Executing a manipulation of the argument sortField can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. Applying a patch is advised to resolve this issue. The project was informed of the problem early through a pull request but has not reacted yet.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-7060
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 02:26 UTC · Revision 1

Source evidence

liyupi yu-picture MyBatis-Plus PictureServiceImpl.java PageRequest sql injection

core-osv · Original source

Published 26 Apr 2026, 20:15 UTC

A vulnerability was determined in liyupi yu-picture up to a053632c41340152bf75b66b3c543d129123d8ec. This impacts the function PageRequest of the file yu-picture-backend/src/main/java/com/yupi/yupicturebackend/service/impl/PictureServiceImpl.java of the component MyBatis-Plus. Executing a manipulation of the argument sortField can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. Applying a patch is advised to resolve this issue. The project was informed of the problem early through a pull request but has not reacted yet.

osv:CVE-2026-7060
Complete source record
{
  "id": "d42fb57ead4bd9d9d50740435a1f2c749ea6e6028d896a3544cd472bb6bb50db",
  "url": "https://osv.dev/vulnerability/CVE-2026-7060",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "liyupi yu-picture MyBatis-Plus PictureServiceImpl.java PageRequest sql injection",
    "summary": "A vulnerability was determined in liyupi yu-picture up to a053632c41340152bf75b66b3c543d129123d8ec. This impacts the function PageRequest of the file yu-picture-backend/src/main/java/com/yupi/yupicturebackend/service/impl/PictureServiceImpl.java of the component MyBatis-Plus. Executing a manipulation of the argument sortField can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. Applying a patch is advised to resolve this issue. The project was informed of the problem early through a pull request but has not reacted yet.",
    "evidence": "osv:CVE-2026-7060",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-7060",
      "aliases": [
        "CVE-2026-7060"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liyupi/yu-picture",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a053632c41340152bf75b66b3c543d129123d8ec"
                },
                {
                  "last_affected": "a053632c41340152bf75b66b3c543d129123d8ec"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "a053632c41340152bf75b66b3c543d129123d8ec"
                      },
                      {
                        "last_affected": "a053632c41340152bf75b66b3c543d129123d8ec"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  }
                ]
              }
            }
          ],
          "versions": [
            "a053632c41340152bf75b66b3c543d129123d8ec"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7060.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.471695666Z",
      "provider": "osv",
      "references": [
        "https://github.com/liyupi/yu-picture/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7060.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-7060",
        "https://vuldb.com/submit/798612",
        "https://vuldb.com/vuln/359633",
        "https://github.com/liyupi/yu-picture/issues/4",
        "https://vuldb.com/vuln/359633/cti",
        "https://github.com/liyupi/yu-picture/pull/3"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-89"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7060.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-7060",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499688,
  "published_at": "2026-04-26T20:15:18.83+00:00"
}