CVE-2026-8845: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in samiullah-kaifi Islamic Database
The Islamic Database plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'islamicDB-roqya' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied 'width' and 'height' shortcode attributes within the islamicDB_sc_quran_qari_roqya() function, which are concatenated directly into HTML iframe attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2026-8845 is a stored cross-site scripting vulnerability in the Islamic Database WordPress plugin by samiullah-kaifi. The flaw exists in the islamicDB_sc_quran_qari_roqya() function, which processes the 'islamicDB-roqya' shortcode. User-supplied 'width' and 'height' shortcode attributes are concatenated directly into iframe HTML attributes without sufficient input sanitization or output escaping. Authenticated attackers with contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the compromised pages.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to the execution of arbitrary JavaScript in the browsers of users who visit the affected pages, potentially resulting in session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability and requires authenticated access, limiting the attack surface somewhat.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Islamic Database plugin if feasible. Monitor for updates from the vendor or plugin repository for a security patch addressing this issue.
CVE-2026-8845: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in samiullah-kaifi Islamic Database
Description
The Islamic Database plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'islamicDB-roqya' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied 'width' and 'height' shortcode attributes within the islamicDB_sc_quran_qari_roqya() function, which are concatenated directly into HTML iframe attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
CVSS v3.1
Score 6.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8845 is a stored cross-site scripting vulnerability in the Islamic Database WordPress plugin by samiullah-kaifi. The flaw exists in the islamicDB_sc_quran_qari_roqya() function, which processes the 'islamicDB-roqya' shortcode. User-supplied 'width' and 'height' shortcode attributes are concatenated directly into iframe HTML attributes without sufficient input sanitization or output escaping. Authenticated attackers with contributor-level privileges or higher can exploit this to inject arbitrary JavaScript that executes in the context of users viewing the compromised pages.
Potential Impact
Successful exploitation allows an authenticated contributor or higher to inject persistent malicious scripts into pages using the vulnerable shortcode. This can lead to the execution of arbitrary JavaScript in the browsers of users who visit the affected pages, potentially resulting in session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability and requires authenticated access, limiting the attack surface somewhat.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or removing the Islamic Database plugin if feasible. Monitor for updates from the vendor or plugin repository for a security patch addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-18T15:27:50.083Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a169061e29bf47b509e16e5
Added to database: 5/27/2026, 6:34:09 AM
Last enriched: 5/27/2026, 7:04:03 AM
Last updated: 5/29/2026, 2:52:02 PM
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.