Skip to content

Commit 665a2d2

Browse files
Merge pull request #82 from acaptutorials/dev
v1.3.1
2 parents baeceee + 2ba856b commit 665a2d2

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

docs/pages/announcements/firebase-storage-2024.mdx

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,27 @@ Yes. Ensuring **system integrity** and **strong security measures** is critical
140140

141141
Activating a paid Firebase subscription unlocks advanced features, but security considerations must be addressed first. Unresolved security flaws introduced in the latest major updates for ACAP 2.0+ could lead to <u>data breaches</u>, <u>unauthorized changes</u>, and <u>increased costs</u>.
142142

143-
<Callout type="error">
144-
Before activating a paid Firebase subscription, consider whether unresolved [ACAP Security Technical Debts](/changelog#acap-2-security-debts) exist. **ACAP 2.0+ introduces known security flaws** that may impact user confidentiality, system integrity, and reliability.
143+
<Callout type="error" emoji="">
144+
🚫
145+
146+
Before activating a paid Firebase subscription, consider whether unresolved [ACAP Security Technical Debts](/changelog#acap-2-security-debts) exist. **[ACAP 2.0+](/changelog/#version-2-acap-20) introduces known security flaws** that may impact user confidentiality, system integrity, and reliability.
145147

146148
#### Key issues include:
147149

148150
1. **Lenient Firestore security rules** – Direct **writes via Firestore REST APIs** bypass front-end controls, potentially allowing unauthorized data entry.
149-
```
151+
```text copy
150152
Temporary Mitigation: Restrict writes using Firestore security rules.
151-
Permanent Mitigation: Perform database WRITE operations from the
152-
Node backend coupled with data validation.
153-
```
154-
2. **Cross-Site Scripting (XSS) vulnerability****WYSIWYG crop recommendations** (only when editing recommendations) allow unvalidated HTML input, which may lead to stored XSS attacks (malicious scripts that persist in the database and execute when viewed).
153+
Permanent Mitigation: Permanently restrict writes using
154+
Firestore security rules and perform database WRITE operations
155+
from the Node backend coupled with data validation.
155156
```
157+
2. **Cross-Site Scripting (XSS) vulnerability****WYSIWYG crop recommendations** (only when "editing" recommendations) allow unvalidated HTML input, which may lead to stored XSS attacks (malicious scripts that persist in the database and execute when viewed).
158+
```text copy
156159
Temporary Mitigation: Implement input sanitization before storage.
160+
Permanent Mitigation: Permanently restrict writes using
161+
Firestore security rules and perform database WRITE operations
162+
from the Node backend coupled with more
163+
robust/predictable data sanitization.
157164
```
158165
3. **Firestore database pollution** – Insufficient validation in **"Support Services"** data allows disorganized writes, which could:
159166
- Lead to excessive Firebase usage.

0 commit comments

Comments
 (0)