CVE-2025-71177: Lavalite/cms Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-w7rq-fgx4-4xcm
CWE-79
Published
Advisory Summary

CVE-2025-71177 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Lavalite/cms libraries in the Packagist ecosystem. The issue involves lavalite cms affected by a stored cross-site scripting vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2025-71177 at a Glance

CVE Identifier CVE-2025-71177
GHSA Identifier GHSA-w7rq-fgx4-4xcm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Lavalite/cms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-71177

To remediate this vulnerability, upgrade all affected Lavalite/cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

lavalite/cms fixed: Latest secure release
Upgrade lavalite/cms to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for lavalite/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-71177, inspect your project dependencies for Lavalite/cms:

inspect dependencies for lavalite/cms

Analyze the terminal output to locate any version of Lavalite/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Lavalite/cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

LavaLite CMS versions up to and including 10.1.0 contain a stored cross-site scripting vulnerability in the package creation and search functionality. Authenticated users can supply crafted HTML or JavaScript in the package Name or Description fields that is stored and later rendered without proper output encoding in package search results. When other users view search results that include the malicious package, the injected script executes in their browsers, potentially enabling session hijacking, credential theft, and unauthorized actions in the context of the victim.

CVE-2025-71177 Affected Lavalite/cms Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
lavalite/cms
Packagist
≤ 10.1.0

References

Frequently Asked Questions

What is CVE-2025-71177?
CVE-2025-71177 is a security vulnerability in Lavalite/cms involving LavaLite CMS affected by a stored cross-site scripting vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Lavalite/cms versions are affected?
Affected versions include releases prior to current release patches across affected packages: lavalite/cms.
What version fixes CVE-2025-71177?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is lavalite/cms affected?
Yes, lavalite/cms is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-71177?
CVE-2025-71177 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Packagist dependencies for CVE-2025-71177?
Run the dependency tree command: 'inspect dependencies for lavalite/cms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-w7rq-fgx4-4xcm",
  "modified" : "2026-01-23T20:16:37Z",
  "published" : "2026-01-23T18:31:30Z",
  "aliases" : [ "CVE-2025-71177" ],
  "summary" : "LavaLite CMS affected by a stored cross-site scripting vulnerability",
  "details" : "LavaLite CMS versions up to and including 10.1.0 contain a stored cross-site scripting vulnerability in the package creation and search functionality. Authenticated users can supply crafted HTML or JavaScript in the package Name or Description fields that is stored and later rendered without proper output encoding in package search results. When other users view search results that include the malicious package, the injected script executes in their browsers, potentially enabling session hijacking, credential theft, and unauthorized actions in the context of the victim.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "lavalite/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "10.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-71177"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/LavaLite/cms/issues/420"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/LavaLite/cms"
  }, {
    "type" : "WEB",
    "url" : "https://lavalite.org"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/lavalite-cms-stored-xss-via-package-creation-and-search"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-23T20:16:37Z",
    "nvd_published_at" : "2026-01-23T17:16:08Z"
  }
}