CVE-2021-38268 is a medium-severity (CVSS 6.5) Incorrect Default Permissions vulnerability in com.liferay:com.liferay.dynamic.data.mapping.service. A fix is available for com.liferay:com.liferay.dynamic.data.mapping.service — see the affected versions and patch details below.
Liferay Portal and Liferay DXP has incorrect default permissions for site members
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-38268 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,386 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
com.liferay:com.liferay.dynamic.data.mapping.service☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bom☕com.liferay.portal:release.dxp.bomReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The Dynamic Data Mapping module before 4.0.39 from Liferay Portal 7.0.0 through 7.3.6, and Liferay DXP 7.0 before fix pack 101, 7.1 before fix pack 21, 7.2 before fix pack 10 and 7.3 before fix pack 2 incorrectly sets default permissions for site members, which allows remote authenticated users with the site member role to add and duplicate forms, via the UI or the API.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.liferay:com.liferay.dynamic.data.mapping.service | all versions | 6.0.0com.liferay:com.liferay.dynamic.data.mapping.service:6.0.0 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.0.0&&< 7.0.10.fp101 | 7.0.10.fp101com.liferay.portal:release.dxp.bom:7.0.10.fp101 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.1.0&&< 7.1.10.fp21 | 7.1.10.fp21com.liferay.portal:release.dxp.bom:7.1.10.fp21 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.2.0&&< 7.2.10.fp10 | 7.2.10.fp10com.liferay.portal:release.dxp.bom:7.2.10.fp10 |
| ☕Maven | com.liferay.portal:release.dxp.bom | ≥ 7.3.0&&< 7.3.10.fp2 | 7.3.10.fp2com.liferay.portal:release.dxp.bom:7.3.10.fp2 |
Affected Products
digital experience platformliferayliferay portalliferayDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.liferay:com.liferay.dynamic.data.mapping.service, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.liferay:com.liferay.dynamic.data.mapping.service to 6.0.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-38268 is resolved across your whole dependency graph.
Workarounds
Close the privilege gap rather than the entry point: audit which accounts, roles and service identities can reach the affected operation, drop the component to the least privilege it actually needs, and review file and directory permissions created by earlier installs — a default left in place is what makes this reachable.
Frequently Asked Questions
Is CVE-2021-38268 in your dependencies?
Find it across Maven, including transitive dependencies.