{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/45482?format=json","vulnerability_id":"VCID-k9fe-m5w6-kqhs","summary":"Improper Neutralization of Alternate XSS Syntax\nXWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the restore template to perform a XSS, e.g. by using URL such as: > /xwiki/bin/view/XWiki/Main?xpage=restore&showBatch=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 9.4-rc-1. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.","aliases":[{"alias":"CVE-2023-35158"},{"alias":"GHSA-mwxj-g7fw-7hc8"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65655?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@14.10.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@14.10.5"},{"url":"http://public2.vulnerablecode.io/api/packages/65656?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.1-rc-1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/65739?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@9.4-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-k9fe-m5w6-kqhs"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@9.4-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/65654?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-dxbv-xw57-2qc3"},{"vulnerability":"VCID-k9fe-m5w6-kqhs"},{"vulnerability":"VCID-pecn-9216-b7b5"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-flamingo-skin-resources@15.0-rc-1"}],"references":[{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/commit/d5472100606c8355ed44ada273e91df91f682738"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-20352","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-20352"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-20583","reference_id":"","reference_type":"","scores":[],"url":"https://jira.xwiki.org/browse/XWIKI-20583"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35158","reference_id":"CVE-2023-35158","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35158"},{"reference_url":"https://github.com/advisories/GHSA-mwxj-g7fw-7hc8","reference_id":"GHSA-mwxj-g7fw-7hc8","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-mwxj-g7fw-7hc8"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8","reference_id":"GHSA-mwxj-g7fw-7hc8","reference_type":"","scores":[],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mwxj-g7fw-7hc8"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":79,"name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"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."},{"cwe_id":87,"name":"Improper Neutralization of Alternate XSS Syntax","description":"The product does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-k9fe-m5w6-kqhs"}