# CVE-2026-8771: linlinjava litemall SQL injection in WxGoodsController

Source: https://junglewise.ai/threats/cve-2026-8771-linlinjava-litemall-sql-injection-in-wxgoodscontroller  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-18. Updated: 2026-05-28  
License: CC BY 4.0 with a link back

CVE-2026-8771 · Severity: high · CVSS 7.3 · Published 2026-05-18

A security vulnerability exists in the litemall e-commerce platform, specifically within its WeChat-facing interface. This flaw allows an attacker to manipulate database queries to extract sensitive information, such as administrator password hashes and customer data, without needing administrative access. This could lead to a full compromise of the store's database, exposing customer personal information and order history.

Technologies: [Linlinjava Litemall](https://junglewise.ai/threats/technologies/litemall). Vendors: [Linlinjava](https://junglewise.ai/threats/vendors/linlinjava), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2026-8771 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-8771 being exploited in the wild.

**How severe is CVE-2026-8771?** High severity, with a CVSS score of 7.3, published 18 May 2026.

**Which products and versions are affected?** Linlinjava Litemall <= 1.8.0, up to 1.8.0; org.linlinjava:litemall-wx-api (Maven) <= 0.1.0, ECOSYSTEM:introduced=0,last_affected=0.1.0.

**Is there a fix for CVE-2026-8771?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-8771 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-8771?** Check whether you run Linlinjava Litemall or org.linlinjava:litemall-wx-api (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in the 'list' function of WxGoodsController.java within the litemall-wx-api component. The 'sort' and 'order' HTTP parameters are passed from the front-end API to the LitemallGoodsService and subsequently used in a MyBatis Mapper XML file using string interpolation (${orderByClause}) rather than parameterized constants. This allows unauthenticated or low-privileged remote attackers to execute arbitrary SQL commands. Attackers can use error-based, boolean-based, or time-based injection techniques to leak database schema information, user data, and administrator bcrypt hashes. As of the advisory date, no official patch has been released by the vendor.

## Affected products

- linlinjava litemall <= 1.8.0

## Identifiers

- CVE-2026-8771
- GHSA-cvwm-vwhp-22jx

## Timeline

- 2026-04-23: other: Vulnerability discovered and documented in public gist
- 2026-05-18: advisory: GitHub Advisory published
- 2026-05-18: disclosed: NVD publication date

## References

- [https://gist.github.com/A1AAAAAAAAAA1/ab8df4181f9311cb9e7dad905e9aa512](https://gist.github.com/A1AAAAAAAAAA1/ab8df4181f9311cb9e7dad905e9aa512)
- [https://vuldb.com/submit/811467](https://vuldb.com/submit/811467)
- [https://vuldb.com/vuln/364396](https://vuldb.com/vuln/364396)
- [https://vuldb.com/vuln/364396/cti](https://vuldb.com/vuln/364396/cti)

## Related threats

- [litemall stored XSS in product detail via v-html](https://junglewise.ai/threats/cve-2026-90570-litemall-stored-xss-in-product-detail-via-v-html)
- [linlinjava litemall stored XSS in topic content](https://junglewise.ai/threats/cve-2026-90569-linlinjava-litemall-stored-xss-in-topic-content)
- [linlinjava litemall argument injection in DbUtil.java](https://junglewise.ai/threats/cve-2026-8773-linlinjava-litemall-argument-injection-in-dbutil-java)
- [linlinjava litemall SQL injection in multiple Admin Controllers](https://junglewise.ai/threats/cve-2026-8772-linlinjava-litemall-sql-injection-in-multiple-admin-controllers)
