Skip to main content

Yu Picture EUVDEUVD-2026-25730

| CVE-2026-7060 MEDIUM
SQL Injection (CWE-89)
2026-04-26 VulDB
5.5
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
5.5 MEDIUM
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

9
CVSS changed
Apr 29, 2026 - 01:12 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 29, 2026 - 01:00 vuln.today
Public exploit code
Severity Changed
Apr 26, 2026 - 22:22 NVD
HIGH MEDIUM
CVSS changed
Apr 26, 2026 - 22:22 NVD
7.3 (HIGH) 6.9 (MEDIUM)
Analysis Generated
Apr 26, 2026 - 21:00 vuln.today
EUVD ID Assigned
Apr 26, 2026 - 20:30 euvd
EUVD-2026-25730
Analysis Generated
Apr 26, 2026 - 20:30 vuln.today
Patch released
Apr 26, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 26, 2026 - 20:15 nvd
MEDIUM 5.5

DescriptionCVE.org

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.

AnalysisAI

SQL injection in Yu Picture's PageRequest handler allows remote unauthenticated attackers to manipulate database queries via the sortField parameter in PictureServiceImpl.java. The vulnerability exists in MyBatis-Plus integration code at commit a053632c41340152bf75b66b3c543d129123d8ec. Publicly available exploit code exists (GitHub issue #4) with EPSS not yet calculated. Vendor patch available via pull request #3 but remains unmerged, leaving deployed instances vulnerable. CVSS 7.3 reflects network-accessible, low-complexity exploitation with no authentication required, enabling partial confidentiality, integrity, and availability compromise.

Technical ContextAI

This vulnerability affects Yu Picture (cpe:2.3:a:liyupi:yu-picture), a Java-based image management application. The root cause (CWE-89: SQL Injection) originates in the sortField parameter handling within the PageRequest function of PictureServiceImpl.java. MyBatis-Plus, a popular Java ORM framework extending MyBatis, is used for database operations. The vulnerability occurs when user-controlled sortField input is passed unsanitized into SQL query construction. MyBatis-Plus's dynamic query building features, while powerful, require explicit input validation to prevent injection when accepting external sort parameters. The affected code constructs database queries that incorporate the sortField value without proper parameterization or allowlist validation, enabling attackers to inject arbitrary SQL fragments.

RemediationAI

Primary fix: Apply the patch from GitHub pull request https://github.com/liyupi/yu-picture/pull/3 by manually merging the changes into your deployment, as the vendor has not yet integrated the fix into the main branch. Review the PR diff to understand the input validation added to sortField parameter handling. Workaround if immediate patching is infeasible: Implement application-layer input validation by restricting sortField values to an explicit allowlist of permitted column names (e.g., ['created_time', 'update_time', 'name']) before passing to MyBatis-Plus query builders. Deploy a web application firewall (WAF) rule to block requests containing SQL metacharacters in sortField parameters, though this may cause false positives and is not a substitute for code-level fixes. Side effect consideration: Allowlist validation will break any legitimate custom sort features relying on dynamic column names. Organizations must audit their API usage before deploying restrictive input filters. Long-term: Advocate for the vendor to adopt semantic versioning and merge outstanding security patches to enable standard upgrade workflows.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

EUVD-2026-25730 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy