CVE-2025-54476: Joomla/filter Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-fm22-g2q9-j3pw
CWE-79
Published
Advisory Summary

CVE-2025-54476 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Joomla/filter libraries in the Packagist ecosystem. The issue involves joomla! cms vulnerable to xss via the input filter. Remediation is available by upgrading affected packages to version 4.0.1, 3.0.5, 2.0.6.

CVE-2025-54476 at a Glance

CVE Identifier CVE-2025-54476
GHSA Identifier GHSA-fm22-g2q9-j3pw
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 Joomla/filter
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2025-54476

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

joomla/filter fixed: 4.0.1
Upgrade joomla/filter to 4.0.1
joomla/filter fixed: 3.0.5
Upgrade joomla/filter to 3.0.5
joomla/filter fixed: 2.0.6
Upgrade joomla/filter to 2.0.6
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 joomla/filter

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-54476, inspect your project dependencies for Joomla/filter:

inspect dependencies for joomla/filter

Analyze the terminal output to locate any version of Joomla/filter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.1), 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 Joomla/filter, 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

Improper handling of input could lead to a cross-site scripting (XSS) vector in the checkAttribute method of the input filter framework class.

CVE-2025-54476 Affected Joomla/filter Versions

3 component(s)
Fixed Versions:
4.0.13.0.52.0.6
Product / Package Ecosystem Affected Versions Fixed Version
joomla/filter
Packagist
≥ 4.0.0
< 4.0.1
All 1 versions
4.0.0
4.0.1
joomla/filter
Packagist
≥ 3.0.0
< 3.0.5
3.0.5
joomla/filter
Packagist
< 2.0.6
2.0.6

References

Frequently Asked Questions

What is CVE-2025-54476?
CVE-2025-54476 is a security vulnerability in Joomla/filter involving Joomla! CMS vulnerable to XSS via the input filter under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Joomla/filter versions are affected?
Affected versions include releases prior to 4.0.1, 3.0.5, 2.0.6 across affected packages: joomla/filter.
What version fixes CVE-2025-54476?
Upgrading to 4.0.1, 3.0.5, 2.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is joomla/filter affected?
Yes, joomla/filter is affected in releases prior to 4.0.1, 3.0.5, 2.0.6. Upgrade your dependency to 4.0.1, 3.0.5, 2.0.6 or later.
What CWE is associated with CVE-2025-54476?
CVE-2025-54476 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-54476?
Run the dependency tree command: 'inspect dependencies for joomla/filter'. 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-fm22-g2q9-j3pw",
  "modified" : "2025-10-01T19:30:21Z",
  "published" : "2025-09-30T18:30:24Z",
  "aliases" : [ "CVE-2025-54476" ],
  "summary" : "Joomla! CMS vulnerable to XSS via the input filter",
  "details" : "Improper handling of input could lead to a cross-site scripting (XSS) vector in the checkAttribute method of the input filter framework class.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "joomla/filter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.1"
      } ]
    } ],
    "versions" : [ "4.0.0" ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "joomla/filter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "joomla/filter"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54476"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joomla-framework/filter/commit/188dd3fccd6fa0532d105a52736affdf6b166217"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joomla-framework/filter/commit/852c7e101c649500d3af58ffb8baf15d7c86d825"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/joomla-framework/filter/commit/fcde280785f188e93530f7da68102f7dd8f9f723"
  }, {
    "type" : "WEB",
    "url" : "https://developer.joomla.org/security-centre/1010-20250901-core-inadequate-content-filtering-within-the-checkattribute-filter-code.html"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/joomla/joomla-cms"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-01T19:30:21Z",
    "nvd_published_at" : "2025-09-30T16:15:52Z"
  }
}