GHSA-jfxf-4frr-9j3q: Neos/neos Cross-Site Scripting Vulnerability
MODERATEGHSA-jfxf-4frr-9j3q is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Neos/neos libraries in the Packagist ecosystem. The issue involves xss in various backend modules due to (un)escaping in js notification module. Remediation is available by upgrading affected packages to version 5.3.10, 7.0.9, 7.1.7, 7.2.6, 7.3.4, 8.0.2.
GHSA-jfxf-4frr-9j3q at a Glance
How to Fix GHSA-jfxf-4frr-9j3q
To remediate this vulnerability, upgrade all affected Neos/neos dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade neos/neos to 5.3.10
Upgrade neos/neos to 7.0.9
Upgrade neos/neos to 7.1.7
Upgrade neos/neos to 7.2.6
Upgrade neos/neos to 7.3.4
Upgrade neos/neos to 8.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for neos/neos
How to Check if You Are Affected
To determine whether your application is affected by GHSA-jfxf-4frr-9j3q, inspect your project dependencies for Neos/neos:
inspect dependencies for neos/neos
Analyze the terminal output to locate any version of Neos/neos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.3.10), 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 Neos/neos, 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
GHSA-jfxf-4frr-9j3q Affected Neos/neos Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neos/neos
|
Packagist |
≥ 3.3
< 5.3.10
|
5.3.10
|
|
neos/neos
|
Packagist |
≥ 7.0.0
< 7.0.9
|
7.0.9
|
|
neos/neos
|
Packagist |
≥ 7.1.0
< 7.1.7
|
7.1.7
|
|
neos/neos
|
Packagist |
≥ 7.2.0
< 7.2.6
|
7.2.6
|
|
neos/neos
|
Packagist |
≥ 7.3.0
< 7.3.4
|
7.3.4
|
|
neos/neos
|
Packagist |
≥ 8.0.0
< 8.0.2
|
8.0.2
|
References
Frequently Asked Questions
What is GHSA-jfxf-4frr-9j3q?
Which Neos/neos versions are affected?
What version fixes GHSA-jfxf-4frr-9j3q?
Is neos/neos affected?
What CWE is associated with GHSA-jfxf-4frr-9j3q?
How can I check Packagist dependencies for GHSA-jfxf-4frr-9j3q?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jfxf-4frr-9j3q",
"modified" : "2022-05-25T19:38:50Z",
"published" : "2022-05-25T19:38:50Z",
"aliases" : [ ],
"summary" : "XSS in various backend modules due to (un)escaping in JS notification module",
"details" : "The notification module displaying flash messages unscapes HTML coming from the server, resulting in XSS vulnerabilities with various names and labels of entities (eg. workspace title or media title). This however means you must be a logged in user with respective rights in the first place to leverage the attack vector.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3"
}, {
"fixed" : "5.3.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.1.0"
}, {
"fixed" : "7.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.2.0"
}, {
"fixed" : "7.2.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.3.0"
}, {
"fixed" : "7.3.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.0.0"
}, {
"fixed" : "8.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/neos/neos-development-collection/security/advisories/GHSA-jfxf-4frr-9j3q"
}, {
"type" : "WEB",
"url" : "https://discuss.neos.io/t/neos-bugfix-releases-5-3-10-7-0-9-7-1-7-7-2-6-7-3-4-8-0-2/5930?u=kdambekalns"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neos/neos"
}, {
"type" : "WEB",
"url" : "https://www.neos.io/blog/xss-in-various-backend-modules.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-05-25T19:38:50Z",
"nvd_published_at" : null
}
}