Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LPD-48102 Incorrect CDATA detection may cause security issue #223

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

antonio-ortega
Copy link
Member

Hi,

This is adressing: https://security.snyk.io/vuln/SNYK-JS-CKEDITOR4-6231771 (CVE-2024-24815).

Previously, in LPD-2161 we implemented content filtering in the rich text field. In addition, our ootb configs don't allow CDATA sections, so DXP is not vulnerable. Still, a particularly customized editor instance in a third party development could create the conditions for this one to be exploited. This commit is fixing that option following the same approach CKEditor did here.

Thanks.

Regards.

Copy link
Member

@markocikos markocikos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antonio-ortega LGTM! ✨

@antonio-ortega antonio-ortega merged commit 994c69b into liferay:master Feb 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants