Skip to content
Heist/ feed
Back to feed
Low

linlinjava litemall JSON Web Token JwtHelper.java hard-coded credentials

Type: advisorySources: OSV

A vulnerability was determined in linlinjava litemall up to 1.8.0. Affected by this issue is some unknown functionality of the file litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/util/JwtHelper.java of the component JSON Web Token Handler. The manipulation of the argument SECRET with the input X-Litemall-Token leads to hard-coded credentials. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-8974
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:51 UTC · Revision 1

Source evidence

linlinjava litemall JSON Web Token JwtHelper.java hard-coded credentials

core-osv · Original source

Published 14 Aug 2025, 18:02 UTC

A vulnerability was determined in linlinjava litemall up to 1.8.0. Affected by this issue is some unknown functionality of the file litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/util/JwtHelper.java of the component JSON Web Token Handler. The manipulation of the argument SECRET with the input X-Litemall-Token leads to hard-coded credentials. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used.

osv:CVE-2025-8974
Complete source record
{
  "id": "4ad63fb83bf5759853431857f65992f7458c29b8aa322e2c35dcd8b1cc61d0f2",
  "url": "https://osv.dev/vulnerability/CVE-2025-8974",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "linlinjava litemall JSON Web Token JwtHelper.java hard-coded credentials",
    "summary": "A vulnerability was determined in linlinjava litemall up to 1.8.0. Affected by this issue is some unknown functionality of the file litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/util/JwtHelper.java of the component JSON Web Token Handler. The manipulation of the argument SECRET with the input X-Litemall-Token leads to hard-coded credentials. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used.",
    "evidence": "osv:CVE-2025-8974",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-8974",
      "aliases": [
        "CVE-2025-8974"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/linlinjava/litemall",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e79f1da2ceaf80fa674d77b6dc6c16303373fef2"
                },
                {
                  "last_affected": "97338d20928527485650def8e7681816cc7e19f4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "1.0"
                      },
                      {
                        "last_affected": "1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.1"
                      },
                      {
                        "last_affected": "1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.2"
                      },
                      {
                        "last_affected": "1.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.3"
                      },
                      {
                        "last_affected": "1.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.4"
                      },
                      {
                        "last_affected": "1.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.5"
                      },
                      {
                        "last_affected": "1.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.6"
                      },
                      {
                        "last_affected": "1.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.7"
                      },
                      {
                        "last_affected": "1.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "1.8.0"
                      },
                      {
                        "last_affected": "1.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:linlinjava:litemall:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0",
            "1.1",
            "1.2",
            "1.3",
            "1.4",
            "1.5",
            "1.6",
            "1.7",
            "1.8.0",
            "v1.8.0",
            "v1.7.0",
            "v1.6.1",
            "v1.6.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8974.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.406250337Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8974.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-8974",
        "https://vuldb.com/?id.319970",
        "https://vuldb.com/?submit.628233",
        "https://github.com/linlinjava/litemall/issues/568",
        "https://github.com/linlinjava/litemall/issues/568#issue-3289860066",
        "https://vuldb.com/?ctiid.319970"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-259",
          "CWE-798"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/8xxx/CVE-2025-8974.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-8974",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499499,
  "published_at": "2025-08-14T18:02:08.547+00:00"
}