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

Need to Update Regex Patterns in Threat Protectors #7960

Closed
TomasWso2 opened this issue Apr 22, 2024 · 0 comments · Fixed by #8604
Closed

Need to Update Regex Patterns in Threat Protectors #7960

TomasWso2 opened this issue Apr 22, 2024 · 0 comments · Fixed by #8604

Comments

@TomasWso2
Copy link

Description:
The patterns given in https://apim.docs.wso2.com/en/3.2.0/learn/api-gateway/threat-protectors/regular-expression-threat-protection-for-api-gateway/#blacklisting-patterns are not correct for JavaScript Injection.

For the JavaScript Injection '<\sscript\b[^&gt;]>[^&lt;]+<\s*/\sscript\s>' should be used.

Same as shown in https://apim.docs.wso2.com/en/4.1.0/deploy-and-publish/deploy-on-gateway/api-gateway/threat-protectors/regular-expression-threat-protection-for-api-gateway/

Affected Product Version:
APIM 3.2.0

Related Issues:
#7722
wso2/api-manager#2549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants