{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-25370 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-25370 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-25370 is a medium-severity cross-site scripting vulnerability in Apache Ofbiz, published on 2 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-25370 and fix it if it is affected.\n\nWhat it is: CVE-2022-25370 is a medium-severity cross-site scripting vulnerability in Apache Ofbiz, published on 2 Sep 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-25370 in the wild and no public exploit code.\n\nAffected product: Apache Ofbiz. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-25370/ (Markdown: https://insights.sbomify.com/CVE-2022-25370/index.md)","id":"CVE-2022-25370","markdown":"https://insights.sbomify.com/CVE-2022-25370/index.md","name":"CVE-2022-25370","record":{"aliases":["GHSA-qgqg-hf9q-5fjp"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache OFBiz","requires_auth":"low_privilege","summary":"An unauthenticated attacker can inject malicious scripts via the Birt plugin, leading to stored XSS and potential session hijacking or code execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ofbiz","vendor":"apache"}],"cvss":{"score":5.4,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Apache OFBiz uses the Birt plugin (https://eclipse.github.io/birt-website/) to create data visualizations and reports. In Apache OFBiz release 18.12.05, and earlier versions, by leveraging a vulnerability in Birt (https://bugs.eclipse.org/bugs/show_bug.cgi?id=538142), an unauthenticated malicious user could perform a stored XSS attack in order to inject a malicious payload and execute it using the stored XSS.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Unauth Stored XSS vulnerability in the Birt plugin of Apache OFBiz","id":"CVE-2022-25370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:ofbiz","products":["apache:ofbiz"],"type":"xss","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Unauth Path Traversal with file corruption affecting the Birt plugin of Apache OFBiz","id":"CVE-2022-25371"},"packages":[],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2022-25369"},"products":["Apache OFBiz"],"published":"2022-09-02","related":[{"cvss_score":9.8,"headline":"Apache OFBiz Forced Browsing","id":"CVE-2024-45195","kev_date_added":"2025-02-04","published":"2024-09-04"},{"cvss_score":9.1,"headline":"Apache OFBiz Path Traversal","id":"CVE-2024-32113","kev_date_added":"2024-08-07","published":"2024-05-08"},{"cvss_score":8.1,"headline":"Apache OFBiz Incorrect Authorization","id":"CVE-2024-38856","kev_date_added":"2024-08-27","published":"2024-08-05"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2013-2250","kev_date_added":null,"published":"2013-08-15"},{"cvss_score":10,"headline":"Unspecified vulnerability in the Apache Open For Business Project (aka OFBiz) 10.04.x before 10.04.03 has unknown impact and attack vectors.","id":"CVE-2012-3506","kev_date_added":null,"published":"2012-10-25"},{"cvss_score":9.8,"headline":"Apache OFBiz: Authentication Bypass via Password-Change Logic Flaw Leading to RCE","id":"CVE-2026-45434","kev_date_added":null,"published":"2026-05-19"},{"cvss_score":9.8,"headline":"Apache OFBiz: URLs allowing remote use of Groovy expressions, leading to RCE","id":"CVE-2024-47208","kev_date_added":null,"published":"2024-11-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["Apache Software Foundation"]},"summary":"An unauthenticated attacker can inject malicious scripts via the Birt plugin, leading to stored XSS and potential session hijacking or code execution.","url":"https://insights.sbomify.com/CVE-2022-25370/"}