Skip to content

Commit 9ea6031

Browse files
fix: mark manifest-declared broadcast receivers as non-exported to prevent other apps from sending spoofed broadcasts
1 parent ca23a72 commit 9ea6031

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## Version 4.2.1
4+
5+
### Date: 14-Apr-2026
6+
7+
- Security: mark manifest-declared broadcast receivers as non-exported to prevent other apps from sending spoofed broadcasts.
8+
39
## Version 4.2.0
410

511
### Date: 02-Mar-2026

contentstack/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
ext {
88
PUBLISH_GROUP_ID = 'com.contentstack.sdk'
99
PUBLISH_ARTIFACT_ID = 'android'
10-
PUBLISH_VERSION = '4.2.0'
10+
PUBLISH_VERSION = '4.2.1'
1111
}
1212

1313
android {

contentstack/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
<receiver
1111
android:name="com.contentstack.sdk.ConnectionStatus"
1212
android:enabled="true"
13-
android:exported="true">
13+
android:exported="false">
1414
<intent-filter>
1515
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
1616
</intent-filter>
1717
</receiver>
1818
<receiver
1919
android:name="com.contentstack.sdk.ClearCache"
2020
android:enabled="true"
21-
android:exported="true">
21+
android:exported="false">
2222
<intent-filter>
2323
<action android:name="StartContentStackClearingCache" />
2424
</intent-filter>

0 commit comments

Comments
 (0)