CVE-2022-25370
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedApache 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThis is a stored XSS vulnerability in Apache OFBiz's Birt plugin integration. An unauthenticated attacker can inject malicious JavaScript payloads into Birt reports/visualizations that persist on the server and execute when other users view the affected content, due to insufficient input sanitization in the Birt component (Eclipse bug 538142).
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 18.12.06CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Apache OFBiz installation versionCheck the version file or build configuration (typically in VERSION, build.xml, or gradle.properties in the OFBiz root directory)Affected if Installed version is lower than 18.12.06
-
Locate Birt plugin componentsSearch for Birt-related files and directories in the OFBiz installation, such as 'birt' folders in the plugins or specialpurpose directories, and look for org.eclipse.birt runtime jarsAffected if Birt plugin directory or birt*.jar files exist in the installation
-
Verify Birt is configured or accessibleInspect the OFBiz controller.xml files within Birt plugin directories (commonly in specialpurpose/birt) and check if there are any webapp mappings or services configured for BirtAffected if Birt controller configurations exist and the webapp is mapped to a URL endpoint
-
Check for unauthenticated Birt endpointsReview web.xml or controller.xml in the Birt plugin to identify any URL patterns that may be accessible without authenticationAffected if Birt report viewer or rendering endpoints are mapped without requiring authentication
-
Determine if Birt reports can accept user inputInspect Birt report templates (.rptdesign files) or look for parameters in the Birt plugin that accept user-supplied data for report generationAffected if The Birt plugin accepts URL parameters or form inputs that could be used to inject malicious content
You are affected if your Apache OFBiz version is below 18.12.06 AND the Birt plugin is installed and accessible, as the insufficient sanitization in the Birt component allows stored XSS injection into reports.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped18.12.06
Upgrade Apache OFBiz to a version that includes the patched Birt component, or disable the Birt plugin if not required, along with implementing output encoding for any report content rendering.
18.12.06
- Backup your existing OFBiz installation and database before upgrading
- Download Apache OFBiz version 18.12.06 from the official Apache repository (https://ofbiz.apache.org/download.html)
- Stop the running OFBiz services
- Replace the existing OFBiz installation with the new 18.12.06 version
- Review and update any custom configurations or plugins that may be affected by the upgrade
- Start the OFBiz services and verify the application is running correctly
- Test the Birt plugin functionality to ensure reports and visualizations are working as expected
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-25370 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-25370 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data