CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
AI Score
Confidence
High
EPSS
Percentile
14.0%
Description The plugin lacks validation of URLs when adding iframes, allowing attackers to inject an iFrame in the page and thus load arbitrary content from any page.
1) Create a new post
2) Add and e-Learning block and upload a zip file
3) Select the "Insert As: Iframe" option
4) Intercept the request to create a new post and in the body:
```
POST /index.php?rest_route=%2Fwp%2Fv2%2Fposts%2F236&_locale=user HTTP/2
{"id":236,"content":"<!-- wp:e-learning/block {\"src\":\"/wp-content/uploads/articulate_uploads/__ARCHIVE_NAME__/main.html\",\"href\":\"/wp-content/uploads/articulate_uploads/__ARCHIVE_NAME__/main.html\"} /-->","status":"publish"}
```
change the `src` to a URL of an external site.
5) Open the new post and see that it loads the content from the original source
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
AI Score
Confidence
High
EPSS
Percentile
14.0%