CVE-2022-30429: Neos/neos Cross-Site Scripting Vulnerability
MODERATECVE-2022-30429 is a MODERATE (CVSS 5.4) 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 neos cms vulnerable to xss in various backend modules. Remediation is available by upgrading affected packages to version 4.4.0, 5.3.10, 7.0.9, 7.1.7, 7.2.6, 7.3.4, 8.0.2.
CVE-2022-30429 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2022-30429
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 4.4.0
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 CVE-2022-30429, 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 4.4.0), 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
CVE-2022-30429 Affected Neos/neos Versions
7 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
neos/neos
|
Packagist |
≥ 3.3.0
< 4.4.0
|
4.4.0
|
|
neos/neos
|
Packagist |
≥ 5.3.0
< 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 CVE-2022-30429?
Which Neos/neos versions are affected?
What version fixes CVE-2022-30429?
Is neos/neos affected?
What is the CVSS score of CVE-2022-30429?
What CWE is associated with CVE-2022-30429?
How can I check Packagist dependencies for CVE-2022-30429?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7m9h-v68w-pfw3",
"modified" : "2022-08-30T20:12:54Z",
"published" : "2022-06-03T00:00:41Z",
"aliases" : [ "CVE-2022-30429" ],
"summary" : "Neos CMS vulnerable to XSS in various backend modules",
"details" : "Multiple cross-site scripting (XSS) vulnerabilities in Neos CMS allow attackers with the editor role or higher to inject arbitrary script or HTML code using the editor function, the deletion of assets, or a workspace title. The vulnerabilities were found in versions 3.3.29 and 8.0.1 and could also be present in all intermediate versions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "4.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "neos/neos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.3.0"
}, {
"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" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-30429"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/neos/neos/CVE-2022-30429.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/neos/neos"
}, {
"type" : "WEB",
"url" : "https://it-sec.de/unbekannte-schwachstellen-in-neos-cms"
}, {
"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-08-30T20:12:54Z",
"nvd_published_at" : "2022-06-02T18:15:00Z"
}
}