Description
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.
Published: 2026-04-26
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection
Action: Patch
AI Analysis

Impact

The vulnerability is located in the function PageRequest of PictureServiceImpl.java, where the sortField argument is concatenated directly into a SQL query using MyBatis-Plus. This omission of proper input validation allows an attacker to inject arbitrary SQL statements. An attacker can thus read, modify, or delete data in the database, compromising the confidentiality and integrity of the stored information. The flaw provides a classic command injection vector that is exploitable remotely without any authentication, leading to significant risk of data exposure or corruption.

Affected Systems

The affected product is liyupi's yu-picture, an open‑source web application without explicit versioning. All releases up to the commit a053632c41340152bf75b66b3c543d129123d8ec are vulnerable, and the project has not released a fixed version yet. Users running any current iteration before the fix are at risk.

Risk and Exploitability

The CVSS v3.1 score is 6.9, indicating moderate severity. The EPSS score is less than 1%, suggesting low immediate exploitation probability, and the vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the flaw remotely via crafted HTTP requests that supply a malicious sortField value. Once the injection succeeds, the attacker can execute arbitrary SQL, potentially compromising the entire application database.

Generated by OpenCVE AI on April 28, 2026 at 05:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update yu-picture to the latest commit that includes the fix from pull request #3 once it is merged, or download and apply the patch manually.
  • If an update is not immediately possible, disable or remove the sortField parameter from the API, or restrict the request to only allow predefined, safe values for sortField.
  • Validate and sanitize all incoming sortField inputs on the server side to ensure only permitted identifiers are used, mitigating further injection attempts.

Generated by OpenCVE AI on April 28, 2026 at 05:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Liyupi
Liyupi yu-picture
Vendors & Products Liyupi
Liyupi yu-picture

Mon, 27 Apr 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 26 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
Description 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.
Title liyupi yu-picture MyBatis-Plus PictureServiceImpl.java PageRequest sql injection
Weaknesses CWE-74
CWE-89
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:TF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Liyupi Yu-picture
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-04-27T13:37:52.443Z

Reserved: 2026-04-26T01:19:00.706Z

Link: CVE-2026-7060

cve-icon Vulnrichment

Updated: 2026-04-27T13:37:47.878Z

cve-icon NVD

Status : Deferred

Published: 2026-04-26T22:17:33.620

Modified: 2026-04-29T01:00:01.613

Link: CVE-2026-7060

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-28T05:15:22Z

Weaknesses